summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/crti.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-15 01:42:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-15 01:42:47 +0000
commit1271f242c654c5a5a4d64bf599e73fada417f62e (patch)
tree1cc79930419d1a9fc64968412da321c4f5926921 /libc/sysdeps/linux/x86_64/crti.S
parentde796c492662911dd28b5c687525cfcb208573cd (diff)
some incomplete asm source for x86_64
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