2 #source
: expdref1
.s
--pic
4 #ld
: -m crislinux
--export-dynamic tmpdir
/libdso
-1.so
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\)