binutils-gdb/ld/testsuite/ld-powerpc/ppc476-shared2.d
Alan Modra 1d5c94cb3e ppc476 linker workaround shared lib fixes again
Huh, I can't even write a binary search properly.

bfd/
	* elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of
	dynamic relocs.
ld/testsuite/
	* ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
	* ld-powerpc/ppc476-shared.d: Update.
	* ld-powerpc/ppc476-shared2.d: Update.
2015-06-16 17:42:29 +09:30

17 lines
515 B
Makefile

#source: ppc476-shared.s
#as: -a32
#ld: -melf32ppc -shared --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\+0x00040144
0002000[02] R_PPC_ADDR16_LO \.text\+0x00040144
0003000[02] R_PPC_ADDR16_LO \.text\+0x00040144
0004000[02] R_PPC_ADDR16_HA \.text\+0x00040144
0004001[02] R_PPC_ADDR16_HA \.text\+0x00040144
0004002[02] R_PPC_ADDR16_HA \.text\+0x00040144