* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
[binutils.git] / ld / testsuite / ld-cris / expdyn2.d
blob714396edfcf9f227eaf1b411c55667529a7f1780
1 #source: expdyn1.s
2 #source: expdref1.s --pic
3 #as: --no-underscore
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\)