binutils-gdb/ld/testsuite/ld-powerpc/dotsym4.d
Alan Modra 7cc340055d PR26882, --enable-textrel-check=warning test failures on powerpc
PR 26882
	* testsuite/ld-powerpc/dotsym3.d: Add "-z notext" to ld options.
	* testsuite/ld-powerpc/dotsym4.d: Likewise.
	* testsuite/ld-powerpc/ppc476-shared.d: Likewise.
	* testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Likewise for various tests.
	* testsuite/ld-undefined/weak-fundef.s: Add BLPLT variant.
	* testsuite/ld-undefined/weak-undef.exp: Define BLPLT for ppc32.
2020-11-17 20:59:53 +10:30

18 lines
347 B
Makefile

#source: dotsymref.s
#source: nodotsym.s
#as: -a64
#ld: -melf64ppc -Ttext=0x1000 -shared -z notext
#objdump: -dR
.*: file format .*
Disassembly of section \.text:
0+1000 <\.foo-0x8>:
.*: (00 00 00 00|08 10 00 00) .*
.*: R_PPC64_RELATIVE \*ABS\*\+0x1008
.*: (00 00 10 08|00 00 00 00) .*
0+1008 <\.foo>:
.*: (4e 80 00 20|20 00 80 4e) blr