mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
16 lines
234 B
ArmAsm
16 lines
234 B
ArmAsm
.text
|
|
.type selector, %function
|
|
foo:
|
|
movl $0, %eax
|
|
ret
|
|
selector:
|
|
mov $foo, %eax
|
|
ret
|
|
.type selector, %gnu_indirect_function
|
|
.globl _start
|
|
_start:
|
|
mov $selector, %rax
|
|
call *%rax
|
|
ret
|
|
.section .note.GNU-stack,"",@progbits
|