End of Stage 1
This commit is contained in:
BIN
c/return_2
BIN
c/return_2
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
int main() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
35
c/return_2.s
35
c/return_2.s
@@ -1,35 +0,0 @@
|
||||
.file "return_2.c"
|
||||
.text
|
||||
.globl main
|
||||
.type main, @function
|
||||
main:
|
||||
.LFB0:
|
||||
.cfi_startproc
|
||||
pushl %ebp
|
||||
.cfi_def_cfa_offset 8
|
||||
.cfi_offset 5, -8
|
||||
movl %esp, %ebp
|
||||
.cfi_def_cfa_register 5
|
||||
call __x86.get_pc_thunk.ax
|
||||
addl $_GLOBAL_OFFSET_TABLE_, %eax
|
||||
movl $2, %eax
|
||||
popl %ebp
|
||||
.cfi_restore 5
|
||||
.cfi_def_cfa 4, 4
|
||||
ret
|
||||
.cfi_endproc
|
||||
.LFE0:
|
||||
.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:
|
||||
.LFB1:
|
||||
.cfi_startproc
|
||||
movl (%esp), %eax
|
||||
ret
|
||||
.cfi_endproc
|
||||
.LFE1:
|
||||
.ident "GCC: (GNU) 15.2.1 20260103"
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
Reference in New Issue
Block a user