diff options
author | Danny Holman <dholman@gymli.org> | 2024-06-05 13:47:01 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-06-05 13:47:01 -0500 |
commit | 5db066eb5184cc45e7634838b5b0b8c67cb2ae25 (patch) | |
tree | 9201570bb47cf57cd41f7efc8bf764b3ec70b802 /libc/arch/i386/crti.s | |
parent | e5aff92e72a0d0e1c18ddaab80b2efe370f04588 (diff) |
Create build targets for a skeleton libc that only includes enough
functionality to get a cross compiler running.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'libc/arch/i386/crti.s')
-rw-r--r-- | libc/arch/i386/crti.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/arch/i386/crti.s b/libc/arch/i386/crti.s new file mode 100644 index 0000000..906414b --- /dev/null +++ b/libc/arch/i386/crti.s @@ -0,0 +1,14 @@ +.section .init + +.global _init +.type _init, @function +_init: + pushl %ebp + movl %esp, %ebp + +.section .fini + +.global _fini +_fini: + pushl %ebp + movl %esp, %ebp |