From 60a3f7d7d8148026f7fa9f07e930513434bc9053 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 29 Jun 2005 02:12:50 +0000 Subject: syntax tweaks --- libc/sysdeps/linux/x86_64/crti.S | 10 ++++++---- libc/sysdeps/linux/x86_64/crtn.S | 17 ++++++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'libc/sysdeps/linux') 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 -- cgit v1.2.3