Retro68/binutils/ld/testsuite/ld-x86-64/gotpcrel1a.S

20 lines
395 B
ArmAsm
Raw Normal View History

2017-04-10 11:32:00 +00:00
.text
.globl main
.type main, @function
main:
subq $8, %rsp
call *foo@GOTPCREL(%rip)
call *bar@GOTPCREL(%rip)
call *plt@GOTPCREL(%rip)
movq foo@GOTPCREL(%rip), %rax
call *%rax
movq bar@GOTPCREL(%rip), %rcx
call *%rcx
movq plt@GOTPCREL(%rip), %rdx
call *%rdx
xorl %edi, %edi
addq $8, %rsp
jmp *myexit@GOTPCREL(%rip)
.size main, .-main
2022-10-27 18:45:45 +00:00
.section .note.GNU-stack