aa489d7c4a
* emulparams/aarch64elf.sh: Add IREL_IN_PLT. ld/testsuite/ * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset with regexp. * ld-aarch64/ifunc-1.d: Likewise. * ld-aarch64/ifunc-2-local.d: Likewise. * ld-aarch64/ifunc-2.d: Likewise. * ld-aarch64/ifunc-3a.d: Likewise. * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo global.
15 lines
254 B
ArmAsm
15 lines
254 B
ArmAsm
.type foo, %gnu_indirect_function
|
|
.set __GI_foo, foo
|
|
.text
|
|
.type foo, @function
|
|
foo:
|
|
ret
|
|
.size foo, .-foo
|
|
.globl bar
|
|
.type bar, @function
|
|
bar:
|
|
bl __GI_foo
|
|
adrp x0, __GI_foo
|
|
add x0, x0, :lo12:__GI_foo
|
|
ret
|
|
.size bar, .-bar
|