mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
1d5c94cb3e
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.
17 lines
515 B
Makefile
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
|