mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
23 lines
370 B
ArmAsm
23 lines
370 B
ArmAsm
.text
|
|
.globl main
|
|
.type main, @function
|
|
main:
|
|
subq $8, %rsp
|
|
movq bar_alias(%rip), %rdi
|
|
call foo@PLT
|
|
movq ptr(%rip), %rax
|
|
movq (%rax), %rdi
|
|
call foo@PLT
|
|
xorl %eax, %eax
|
|
addq $8, %rsp
|
|
ret
|
|
.size main, .-main
|
|
.globl ptr
|
|
.section .data.rel,"aw",@progbits
|
|
.align 8
|
|
.type ptr, @object
|
|
.size ptr, 8
|
|
ptr:
|
|
.quad bar_alias
|
|
.section .note.GNU-stack,"",@progbits
|