mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
8c650f161a
* ld-ifunc/ifunc-21-i386.s: Add tests for call, jmp, add, test. * ld-ifunc/ifunc-21-x86-64.s: Likewise. * ld-ifunc/ifunc-22-i386.s: Likewise. * ld-ifunc/ifunc-22-x86-64.s: Likewise. * ld-ifunc/ifunc-21-i386.d: Updated. * ld-ifunc/ifunc-21-x86-64.d: Likewise. * ld-ifunc/ifunc-22-i386.d: Likewise. * ld-ifunc/ifunc-22-x86-64.d: Likewise.
25 lines
449 B
ArmAsm
25 lines
449 B
ArmAsm
.text
|
|
.type start,"function"
|
|
.global start
|
|
start:
|
|
.type _start,"function"
|
|
.global _start
|
|
_start:
|
|
.type __start,"function"
|
|
.global __start
|
|
__start:
|
|
.type __start,"function"
|
|
call *foo@GOTPCREL(%rip)
|
|
jmp *foo@GOTPCREL(%rip)
|
|
add foo@GOTPCREL(%rip), %rax
|
|
movq foo@GOTPCREL(%rip), %rax
|
|
test %rax, foo@GOTPCREL(%rip)
|
|
movq bar@GOTPCREL(%rip), %rax
|
|
.type foo, %gnu_indirect_function
|
|
.globl foo
|
|
foo:
|
|
ret
|
|
.type bar, %function
|
|
bar:
|
|
ret
|