summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64/crti.S')
-rw-r--r--libc/sysdeps/linux/x86_64/crti.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/crti.S b/libc/sysdeps/linux/x86_64/crti.S
new file mode 100644
index 000000000..6a29f2bc0
--- /dev/null
+++ b/libc/sysdeps/linux/x86_64/crti.S
@@ -0,0 +1,14 @@
+/* glibc's sysdeps/x86_64/elf/initfini.c used for reference [PROLOG] */
+
+.section .init
+.globl _init
+.type _init, @function
+_init:
+ subq $8, %rsp
+
+
+.section .fini
+.globl _fini
+.type _fini, @function
+_fini:
+ subq $8, %rsp