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.
19 lines
231 B
ArmAsm
19 lines
231 B
ArmAsm
.text
|
|
lis 3,x@ha
|
|
addi 3,3,x@l
|
|
.org 0x10000
|
|
lis 3,x@ha
|
|
addi 3,3,x@l
|
|
.org 0x20000
|
|
lis 3,x@ha
|
|
addi 3,3,x@l
|
|
|
|
.org 0x2fff4
|
|
bcl 20,31,.+4
|
|
0:
|
|
mflr 9
|
|
addis 9,9,x-0b@ha
|
|
addi 9,9,x-0b@l
|
|
|
|
.section .bss,"aw",@nobits
|
|
x: .space 4
|