summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-29 02:12:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-29 02:12:50 +0000
commit60a3f7d7d8148026f7fa9f07e930513434bc9053 (patch)
treea12cc965661241c84c007b0a1b1cfe4548757d1b /libc/sysdeps/linux/x86_64
parentdd06c9a1f04597a388efe29d1f711561676513be (diff)
syntax tweaks
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/crti.S10
-rw-r--r--libc/sysdeps/linux/x86_64/crtn.S17
2 files changed, 14 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/x86_64/crti.S b/libc/sysdeps/linux/x86_64/crti.S
index 6a29f2bc0..648513739 100644
--- a/libc/sysdeps/linux/x86_64/crti.S
+++ b/libc/sysdeps/linux/x86_64/crti.S
@@ -1,14 +1,16 @@
/* glibc's sysdeps/x86_64/elf/initfini.c used for reference [PROLOG] */
+
+
.section .init
-.globl _init
-.type _init, @function
+.global _init
+.type _init, @function
_init:
subq $8, %rsp
.section .fini
-.globl _fini
-.type _fini, @function
+.global _fini
+.type _fini, @function
_fini:
subq $8, %rsp
diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S
index 292e499a7..f68f9d0a3 100644
--- a/libc/sysdeps/linux/x86_64/crtn.S
+++ b/libc/sysdeps/linux/x86_64/crtn.S
@@ -2,18 +2,17 @@
.file "initfini.c"
-
.section .init
-.globl _init
-.type _init, @function
- addq $8, %rsp
+.global _init
+.type _init, @function
+ addq $8, %rsp
ret
-.size _init, .-_init
+.size _init,.-_init
.section .fini
-.globl _fini
-.type _fini, @function
- addq $8, %rsp
+.global _fini
+.type _fini, @function
+ addq $8, %rsp
ret
-.size _fini, .-_fini
+.size _fini, .-_fini