binutils-gdb/ld/testsuite/ld-powerpc/ppc476-shared2.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

17 lines
553 B
Makefile

#source: ppc476-shared.s
#as: -a32
#ld: -melf32ppc -shared -z common-page-size=0x10000 -z notext --ppc476-workaround -T ppc476-shared.lnk
#objdump: -R
#target: powerpc*-*-*
.*: file format .*
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
0001000[02] R_PPC_ADDR16_LO \.text\+0x00050000
0002000[02] R_PPC_ADDR16_LO \.text\+0x00050000
0003000[02] R_PPC_ADDR16_LO \.text\+0x00050000
0004000[02] R_PPC_ADDR16_HA \.text\+0x00050000
0004001[02] R_PPC_ADDR16_HA \.text\+0x00050000
0004002[02] R_PPC_ADDR16_HA \.text\+0x00050000