summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
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