From 075ac5a2e4afc49370b979745d00755b18a79993 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Jul 2005 22:22:22 +0000 Subject: syntax touchups as suggested by Peter S. Mazinger --- libc/sysdeps/linux/i386/bsd-_setjmp.S | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'libc/sysdeps/linux/i386/bsd-_setjmp.S') 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 - -.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 -- cgit v1.2.3