binutils-gdb/ld/testsuite/ld-cris/expdyn2.d
Hans-Peter Nilsson f1cf2c2e58 * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
	ld-cris/expdref1.s: New tests.
2002-07-12 15:51:54 +00:00

17 lines
595 B
Makefile

#source: expdyn1.s
#source: expdref1.s --pic
#as: --no-underscore
#ld: -m crislinux --export-dynamic tmpdir/libdso-1.so
#objdump: -R
# Programs linked with --export-dynamic threw away .rela.got for exported
# symbols, but since got reference counter wasn't reset, there was a SEGV
# trying to generate the .rela.got relocations. In this test, we have an
# object in the program that has pic-relocations to an exported symbol,
# but those relocations can be resolved at link-time. We link to a DSO to
# get dynamic linking.
.*: file format elf32-cris
DYNAMIC RELOCATION RECORDS \(none\)