summaryrefslogtreecommitdiff
path: root/libc/arch/i386/crtn.s
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-06-05 13:47:01 -0500
committerDanny Holman <dholman@gymli.org>2024-06-05 13:47:01 -0500
commit5db066eb5184cc45e7634838b5b0b8c67cb2ae25 (patch)
tree9201570bb47cf57cd41f7efc8bf764b3ec70b802 /libc/arch/i386/crtn.s
parente5aff92e72a0d0e1c18ddaab80b2efe370f04588 (diff)
libc: create a skeleton libc and build targetsHEADmaster
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/crtn.s')
-rw-r--r--libc/arch/i386/crtn.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/arch/i386/crtn.s b/libc/arch/i386/crtn.s
new file mode 100644
index 0000000..447afb1
--- /dev/null
+++ b/libc/arch/i386/crtn.s
@@ -0,0 +1,7 @@
+.section .init
+ popl %ebp
+ ret
+
+.section .fini
+ popl %ebp
+ ret