Эх сурвалжийг харах

make sure we include features.h to get the hidden define

Mike Frysinger 20 жил өмнө
parent
commit
3097a807b2

+ 4 - 4
libc/sysdeps/linux/x86_64/__longjmp.S

@@ -23,9 +23,9 @@
 /* Jump to the position specified by ENV, causing the
    setjmp call there to return VAL, or 1 if VAL is 0.
    void __longjmp (__jmp_buf env, int val).  */
-.globl __longjmp;
-.type	__longjmp,@function;
-.align 16;
+.global __longjmp
+.type   __longjmp,@function
+.align 16
 __longjmp:
 	/* Restore registers.  */
 	movq (JB_RBX*8)(%rdi),%rbx
@@ -42,4 +42,4 @@ __longjmp:
 	movq (JB_PC*8)(%rdi),%rdx
 	movq (JB_RSP*8)(%rdi),%rsp
 	jmpq *%rdx
-.size __longjmp,.-__longjmp;
+.size __longjmp,.-__longjmp

+ 4 - 4
libc/sysdeps/linux/x86_64/setjmp.S

@@ -21,9 +21,9 @@
 #define _SETJMP_H
 #include <bits/setjmp.h>
 
-.globl __sigsetjmp;
-.type    __sigsetjmp,@function
-.align 4;
+.global __sigsetjmp
+.type   __sigsetjmp,@function
+.align 4
 __sigsetjmp:
 	/* Save registers.  */
 	movq %rbx, (JB_RBX*8)(%rdi)
@@ -43,4 +43,4 @@ __sigsetjmp:
 #else
 	jmp __sigjmp_save
 #endif
-.size __sigsetjmp,.-__sigsetjmp;
+.size __sigsetjmp,.-__sigsetjmp