summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:35:16 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:35:16 +0000
commit3097a807b2c78c11ea5f8fb8f5716a11d191d59a (patch)
tree62abb129681c5233b3433b8d67ae99e664147bc7 /libc/sysdeps/linux
parent0316eef95535da5a7c7fea60d3238257315e5867 (diff)
make sure we include features.h to get the hidden define
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/x86_64/__longjmp.S8
-rw-r--r--libc/sysdeps/linux/x86_64/setjmp.S8
2 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/x86_64/__longjmp.S b/libc/sysdeps/linux/x86_64/__longjmp.S
index 40e459e27..d4bd7fce7 100644
--- a/libc/sysdeps/linux/x86_64/__longjmp.S
+++ b/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
diff --git a/libc/sysdeps/linux/x86_64/setjmp.S b/libc/sysdeps/linux/x86_64/setjmp.S
index cb560248b..13ad50d16 100644
--- a/libc/sysdeps/linux/x86_64/setjmp.S
+++ b/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