mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
0dbd452ad2
* testsuite/ld-powerpc/inline.s, * testsuite/ld-powerpc/inline-1.d, * testsuite/ld-powerpc/inline-2.d, * testsuite/ld-powerpc/inline-3.d, * testsuite/ld-powerpc/inline-4.d, * testsuite/ld-powerpc/inlinepcrel.s, * testsuite/ld-powerpc/inlinepcrel-1.d, * testsuite/ld-powerpc/inlinepcrel-2.d, * testsuite/ld-powerpc/inlinepcrel-3.d: New tests. * testsuite/ld-powerpc/powerpc.exp: Run them.
13 lines
309 B
ArmAsm
13 lines
309 B
ArmAsm
.text
|
|
.globl _start
|
|
_start:
|
|
std 2,24(1)
|
|
.reloc .-4,R_PPC64_PLTSEQ,my_func
|
|
addis 12,2,my_func@plt@ha # .reloc .,R_PPC64_PLT16_HA,my_func
|
|
ld 12,my_func@plt@l(12) # .reloc .,R_PPC64_PLT16_LO_DS,my_func
|
|
mtctr 12
|
|
.reloc .-4,R_PPC64_PLTSEQ,my_func
|
|
bctrl
|
|
.reloc .-4,R_PPC64_PLTCALL,my_func
|
|
ld 2,24(1)
|