PR25593, --as-needed breaks DT_NEEDED order with linker plugin
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / weakref1.d
1 #source: gotrel2.s
2 #as: --pic --no-underscore --em=criself
3 #ld: -m crislinux tmpdir/libdso-1.so
4 #objdump: -R
5
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.
14
15 .*: file format elf32-cris
16
17 DYNAMIC RELOCATION RECORDS \(none\)
This page took 0.029885 seconds and 4 git commands to generate.