* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
[binutils.git] / ld / testsuite / ld-cris / expdyn2.d
blob6c5faa5991bdf2c6b9d6f2b3101bf87fc2a20d41
1 #source: expdyn1.s
2 #source: expdref1.s --pic
3 #as: --no-underscore --em=criself
4 #ld: -m crislinux --export-dynamic tmpdir/libdso-1.so
5 #objdump: -R
7 # Programs linked with --export-dynamic threw away .rela.got for exported
8 # symbols, but since got reference counter wasn't reset, there was a SEGV
9 # trying to generate the .rela.got relocations. In this test, we have an
10 # object in the program that has pic-relocations to an exported symbol,
11 # but those relocations can be resolved at link-time. We link to a DSO to
12 # get dynamic linking.
14 .*: file format elf32-cris
16 DYNAMIC RELOCATION RECORDS \(none\)