diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/x86_64/__longjmp.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/bsd-_setjmp.S | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/bsd-setjmp.S | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/clone.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/crt1.S | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/crti.S | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/crtn.S | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/setjmp.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/syscall.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/vfork.S | 2 |
10 files changed, 24 insertions, 24 deletions
diff --git a/libc/sysdeps/linux/x86_64/__longjmp.S b/libc/sysdeps/linux/x86_64/__longjmp.S index d4bd7fce7..aa47b7233 100644 --- a/libc/sysdeps/linux/x86_64/__longjmp.S +++ b/libc/sysdeps/linux/x86_64/__longjmp.S @@ -24,7 +24,7 @@ setjmp call there to return VAL, or 1 if VAL is 0. void __longjmp (__jmp_buf env, int val). */ .global __longjmp -.type __longjmp,@function +.type __longjmp,%function .align 16 __longjmp: /* Restore registers. */ diff --git a/libc/sysdeps/linux/x86_64/bsd-_setjmp.S b/libc/sysdeps/linux/x86_64/bsd-_setjmp.S index 89676bf5f..91c587988 100644 --- a/libc/sysdeps/linux/x86_64/bsd-_setjmp.S +++ b/libc/sysdeps/linux/x86_64/bsd-_setjmp.S @@ -25,10 +25,10 @@ #define _SETJMP_H #include <bits/setjmp.h> -.globl _setjmp; -.type _setjmp,@function -.align 16; +.global _setjmp +.type _setjmp,%function +.align 16 _setjmp: xorq %rsi, %rsi - jmp __sigsetjmp -.size _setjmp,.-_setjmp; + jmp __sigsetjmp@PLT +.size _setjmp,.-_setjmp diff --git a/libc/sysdeps/linux/x86_64/bsd-setjmp.S b/libc/sysdeps/linux/x86_64/bsd-setjmp.S index 340d59642..21d0191d0 100644 --- a/libc/sysdeps/linux/x86_64/bsd-setjmp.S +++ b/libc/sysdeps/linux/x86_64/bsd-setjmp.S @@ -21,10 +21,10 @@ #define _SETJMP_H #include <bits/setjmp.h> -.globl setjmp; -.type setjmp,@function -.align 16; +.global setjmp +.type setjmp,%function +.align 16 setjmp: movq $1, %rsi - jmp __sigsetjmp -.size setjmp,.-setjmp; + jmp __sigsetjmp@PLT +.size setjmp,.-setjmp diff --git a/libc/sysdeps/linux/x86_64/clone.S b/libc/sysdeps/linux/x86_64/clone.S index 96cfbbd91..156714e41 100644 --- a/libc/sysdeps/linux/x86_64/clone.S +++ b/libc/sysdeps/linux/x86_64/clone.S @@ -52,7 +52,7 @@ .text .global __clone -.type __clone,@function +.type __clone,%function .align 4 __clone: /* Sanity check arguments. */ diff --git a/libc/sysdeps/linux/x86_64/crt1.S b/libc/sysdeps/linux/x86_64/crt1.S index 49ec969a0..ddd1e5683 100644 --- a/libc/sysdeps/linux/x86_64/crt1.S +++ b/libc/sysdeps/linux/x86_64/crt1.S @@ -60,19 +60,19 @@ .text .global _start -.type _start,@function +.type _start,%function #if defined(__UCLIBC_CTOR_DTOR__) -.type _init,@function -.type _fini,@function +.type _init,%function +.type _fini,%function #else .weak _init .weak _fini #endif -.type __uClibc_main,@function +.type __uClibc_main,%function /* Stick in a dummy reference to main(), so that if an application * is linking when the main() function is in a static library (.a) * we can be sure that main() actually gets linked in */ -.type main,@function +.type main,%function _start: /* Clear the frame pointer. The ABI suggests this be done, to mark diff --git a/libc/sysdeps/linux/x86_64/crti.S b/libc/sysdeps/linux/x86_64/crti.S index 648513739..11491db4d 100644 --- a/libc/sysdeps/linux/x86_64/crti.S +++ b/libc/sysdeps/linux/x86_64/crti.S @@ -4,13 +4,13 @@ .section .init .global _init -.type _init, @function +.type _init, %function _init: subq $8, %rsp .section .fini .global _fini -.type _fini, @function +.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 f68f9d0a3..5b110d967 100644 --- a/libc/sysdeps/linux/x86_64/crtn.S +++ b/libc/sysdeps/linux/x86_64/crtn.S @@ -4,7 +4,7 @@ .section .init .global _init -.type _init, @function +.type _init, %function addq $8, %rsp ret .size _init,.-_init @@ -12,7 +12,7 @@ .section .fini .global _fini -.type _fini, @function +.type _fini, %function addq $8, %rsp ret .size _fini, .-_fini diff --git a/libc/sysdeps/linux/x86_64/setjmp.S b/libc/sysdeps/linux/x86_64/setjmp.S index 13ad50d16..a44f968c5 100644 --- a/libc/sysdeps/linux/x86_64/setjmp.S +++ b/libc/sysdeps/linux/x86_64/setjmp.S @@ -22,7 +22,7 @@ #include <bits/setjmp.h> .global __sigsetjmp -.type __sigsetjmp,@function +.type __sigsetjmp,%function .align 4 __sigsetjmp: /* Save registers. */ diff --git a/libc/sysdeps/linux/x86_64/syscall.S b/libc/sysdeps/linux/x86_64/syscall.S index 23ff07ac1..f6273b75f 100644 --- a/libc/sysdeps/linux/x86_64/syscall.S +++ b/libc/sysdeps/linux/x86_64/syscall.S @@ -25,7 +25,7 @@ .text .globl syscall -.type syscall,@function +.type syscall,%function .align 16 syscall: movq %rdi, %rax /* Syscall number -> rax. */ diff --git a/libc/sysdeps/linux/x86_64/vfork.S b/libc/sysdeps/linux/x86_64/vfork.S index 4c64ead0f..dde29e96a 100644 --- a/libc/sysdeps/linux/x86_64/vfork.S +++ b/libc/sysdeps/linux/x86_64/vfork.S @@ -32,7 +32,7 @@ .text .global __vfork -.type __vfork,@function +.type __vfork,%function .align 16 __vfork: |