Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/pr22842b.S
2023-03-06 14:48:14 +01:00

20 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