diff options
Diffstat (limited to 'src/crti.s')
| -rw-r--r-- | src/crti.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/crti.s b/src/crti.s new file mode 100644 index 0000000..30dd4ea --- /dev/null +++ b/src/crti.s @@ -0,0 +1,16 @@ +/* x86 crti.s */ +.section .init +.global _init +.type _init, @function +_init: + push %ebp + movl %esp, %ebp + /* gcc will nicely put the contents of crtbegin.o's .init section here. */ + +.section .fini +.global _fini +.type _fini, @function +_fini: + push %ebp + movl %esp, %ebp + /* gcc will nicely put the contents of crtbegin.o's .fini section here. */ |
