fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-cris / weakref1.d
blob166d48964af7108e57e04819855ae96f1c0b496d
1 #source: gotrel2.s
2 #as: --pic --no-underscore
3 #ld: -m crislinux tmpdir/libdso-1.so
4 #objdump: -R
6 # A dynamic reloc for an undefined weak reference in a program got a
7 # confused symbol reference count mismatch with a bfd assertion. Linking
8 # with a DSO was needed as a catalyst to get to the faulty code; nothing
9 # in the DSO was needed. We just check that we don't get the bfd
10 # assertion. Note that no actual dynamic reloc is created for the
11 # unresolved weak. Perhaps it should; the symbol could be defined in a
12 # preloaded object or a new version of the DSO. FIXME: Revisit and adjust
13 # test-result.
15 .*: file format elf32-cris
17 DYNAMIC RELOCATION RECORDS \(none\)