Retro68/binutils/ld/testsuite/ld-x86-64/pr22842b.S
2018-12-28 16:25:28 +01:00

21 lines
268 B
ArmAsm

.text
.globl main
.type main,@function
main:
pushq %rax
movslq bar(%rip), %rax
leaq bar(%rip), %rdi
addq %rax, %rdi
callq foo
xorl %eax, %eax
popq %rcx
retq
.data
.p2align 2
bar:
.long test - .
.section .note.GNU-stack,"",@progbits