diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-25 02:29:20 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-25 02:29:20 +0000 |
| commit | ff45f14ea255d442f779157db133d73777675a5c (patch) | |
| tree | eafe5f8052f5e3fb0f50c48d3b8fdd371445c302 /libc/sysdeps/linux/i386/bsd-_setjmp.S | |
| parent | 1d2230a7d275706c5f0de850e15527aae3744310 (diff) | |
| download | uClibc-alpine-ff45f14ea255d442f779157db133d73777675a5c.tar.bz2 uClibc-alpine-ff45f14ea255d442f779157db133d73777675a5c.tar.xz | |
A merging we will go. A merging we will go. Hi ho the merrio' a merging we will go.
Diffstat (limited to 'libc/sysdeps/linux/i386/bsd-_setjmp.S')
| -rw-r--r-- | libc/sysdeps/linux/i386/bsd-_setjmp.S | 18 |
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 |
