mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
16 lines
240 B
ArmAsm
16 lines
240 B
ArmAsm
|
.text
|
||
|
.type selector, %function
|
||
|
foo:
|
||
|
movl $0, %eax
|
||
|
ret
|
||
|
selector:
|
||
|
movabs $foo, %rax
|
||
|
ret
|
||
|
.type selector, %gnu_indirect_function
|
||
|
.globl _start
|
||
|
_start:
|
||
|
movabs $selector, %rax
|
||
|
call *%rax
|
||
|
ret
|
||
|
.section .note.GNU-stack,"",@progbits
|