summaryrefslogtreecommitdiff
path: root/src/as/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/as/crtn.s')
-rw-r--r--src/as/crtn.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/as/crtn.s b/src/as/crtn.s
new file mode 100644
index 0000000..1da795d
--- /dev/null
+++ b/src/as/crtn.s
@@ -0,0 +1,10 @@
+/* x86 crtn.s */
+.section .init
+ /* gcc will nicely put the contents of crtend.o's .init section here. */
+ popl %ebp
+ ret
+
+.section .fini
+ /* gcc will nicely put the contents of crtend.o's .fini section here. */
+ popl %ebp
+ ret