* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
[binutils.git] / ld / testsuite / ld-cris / weakref1.d
blob6dab5e40f930ad0b424a2476ea31fbfb0778cf0d
1 #source: gotrel2.s
2 #as: --pic --no-underscore --em=criself
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\)