mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
25 lines
574 B
ArmAsm
25 lines
574 B
ArmAsm
.section .text.startup,"ax",@progbits
|
|
.p2align 4,,15
|
|
.globl main
|
|
.type main, @function
|
|
main:
|
|
.cfi_startproc
|
|
call __x86.get_pc_thunk.ax
|
|
addl $_GLOBAL_OFFSET_TABLE_, %eax
|
|
cmpl $2, a_glob@GOTOFF(%eax)
|
|
setne %al
|
|
movzbl %al, %eax
|
|
ret
|
|
.cfi_endproc
|
|
.size main, .-main
|
|
.section .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
|
|
.globl __x86.get_pc_thunk.ax
|
|
.hidden __x86.get_pc_thunk.ax
|
|
.type __x86.get_pc_thunk.ax, @function
|
|
__x86.get_pc_thunk.ax:
|
|
.cfi_startproc
|
|
movl (%esp), %eax
|
|
ret
|
|
.cfi_endproc
|
|
.section .note.GNU-stack,"",@progbits
|