mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
23 lines
380 B
ArmAsm
23 lines
380 B
ArmAsm
.text
|
|
.p2align 4,,15
|
|
.globl get_func
|
|
.type get_func, @function
|
|
get_func:
|
|
movl func@GOT, %eax
|
|
ret
|
|
.size get_func, .-get_func
|
|
.p2align 4,,15
|
|
.globl call_func
|
|
.type call_func, @function
|
|
call_func:
|
|
jmp *func@GOT
|
|
.size call_func, .-call_func
|
|
.globl func_p
|
|
.data
|
|
.align 4
|
|
.type func_p, @object
|
|
.size func_p, 4
|
|
func_p:
|
|
.long func
|
|
.section .note.GNU-stack,"",@progbits
|