Forráskód Böngészése

use % as the function marker instead of @

Mike Frysinger 19 éve
szülő
commit
47b3efda36

+ 1 - 1
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.  */

+ 5 - 5
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

+ 5 - 5
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

+ 1 - 1
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.  */

+ 5 - 5
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

+ 2 - 2
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

+ 2 - 2
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

+ 1 - 1
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.  */

+ 1 - 1
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.  */

+ 1 - 1
libc/sysdeps/linux/x86_64/vfork.S

@@ -32,7 +32,7 @@
 
 .text
 .global __vfork
-.type	__vfork,@function
+.type	__vfork,%function
 .align 16
 __vfork: