binutils-gdb/ld/testsuite/ld-elf/reloc-discard-warn.d
Alan Modra 49ddb0fbda PowerPC64 fails reloc-discard test
PowerPC64 fails here due to emitting a warning about discarded dynamic
relocations.  That's a good thing, since accidentally discarding
dynamic relocations will likely result in a non-working binary.

	* testsuite/ld-elf/reloc-discard-warn.d: New.
	* testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64.
2018-07-23 13:06:33 +09:30

11 lines
343 B
Makefile

#name: Discarded dynamic relocation section
#ld: -shared -T reloc-discard.ld
#readelf: -r --use-dynamic
#target: [check_shared_lib_support]
#noskip: powerpc64*-*-*
#source: reloc-discard.s
#warning: .*discarding dynamic section.*
# More targets should be using this variant of reloc-discard.d.
There are no dynamic relocations in this file\.