aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S')
-rw-r--r--lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S b/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S
new file mode 100644
index 0000000..911b078
--- /dev/null
+++ b/lib/mlibc/sysdeps/ironclad/crt-x86_64/crti.S
@@ -0,0 +1,11 @@
+.section .init
+.global _init
+_init:
+ push %rax
+
+.section .fini
+.global _fini
+_fini:
+ push %rax
+.section .note.GNU-stack,"",%progbits
+