summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/bsd-_setjmp.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-06 22:22:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-06 22:22:22 +0000
commit075ac5a2e4afc49370b979745d00755b18a79993 (patch)
tree73ef91c9d9bc6ccfb1f30cf57e9e689df753f4e1 /libc/sysdeps/linux/i386/bsd-_setjmp.S
parent000311a8ddfa7c46aed9a07a2d3cdab5f7b14412 (diff)
syntax touchups as suggested by Peter S. Mazinger
Diffstat (limited to 'libc/sysdeps/linux/i386/bsd-_setjmp.S')
-rw-r--r--libc/sysdeps/linux/i386/bsd-_setjmp.S18
1 files changed, 7 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/i386/bsd-_setjmp.S b/libc/sysdeps/linux/i386/bsd-_setjmp.S
index 73d90eb4e..ac2c8930d 100644
--- a/libc/sysdeps/linux/i386/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/i386/bsd-_setjmp.S
@@ -25,27 +25,23 @@
#define _SETJMP_H
#include <bits/setjmp.h>
-
-.globl _setjmp;
-.type _setjmp,@function
-.align 4;
-
+.global _setjmp
+.type _setjmp,%function
+.align 4
_setjmp:
xorl %eax, %eax
movl 4 (%esp), %edx
- /* Save registers. */
+ /* Save registers. */
movl %ebx, (JB_BX*4)(%edx)
movl %esi, (JB_SI*4)(%edx)
movl %edi, (JB_DI*4)(%edx)
leal 4 (%esp), %ecx /* Save SP as it will be after we return. */
- movl %ecx, (JB_SP*4)(%edx)
+ movl %ecx, (JB_SP*4)(%edx)
movl 0 (%esp), %ecx /* Save PC we are returning to now. */
- movl %ecx, (JB_PC*4)(%edx)
+ movl %ecx, (JB_PC*4)(%edx)
movl %ebp, (JB_BP*4)(%edx) /* Save caller's frame pointer. */
movl %eax, JB_SIZE(%edx) /* No signal mask set. */
ret
-.size _setjmp,.-_setjmp;
-
-
+.size _setjmp,.-_setjmp