summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/crtn.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-15 01:33:05 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-15 01:33:05 +0000
commitfc59b6ec5140386c0072cae932d2812015016a5b (patch)
tree5d131ce249cfc8d2058e033b5feea39b64e7b7cb /libc/sysdeps/linux/x86_64/crtn.S
parent1fef64b22811709b2e640d341237bce1c8081203 (diff)
some source files for x86_64
Diffstat (limited to 'libc/sysdeps/linux/x86_64/crtn.S')
-rw-r--r--libc/sysdeps/linux/x86_64/crtn.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S
new file mode 100644
index 000000000..292e499a7
--- /dev/null
+++ b/libc/sysdeps/linux/x86_64/crtn.S
@@ -0,0 +1,19 @@
+/* glibc's sysdeps/x86_64/elf/initfini.c used for reference [EPILOG] */
+
+.file "initfini.c"
+
+
+.section .init
+.globl _init
+.type _init, @function
+ addq $8, %rsp
+ ret
+.size _init, .-_init
+
+
+.section .fini
+.globl _fini
+.type _fini, @function
+ addq $8, %rsp
+ ret
+.size _fini, .-_fini