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/arm/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/arm/bsd-setjmp.S')
| -rw-r--r-- | libc/sysdeps/linux/arm/bsd-setjmp.S | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/bsd-setjmp.S b/libc/sysdeps/linux/arm/bsd-setjmp.S index 16f077a79..3e5ff59fa 100644 --- a/libc/sysdeps/linux/arm/bsd-setjmp.S +++ b/libc/sysdeps/linux/arm/bsd-setjmp.S @@ -25,10 +25,15 @@ #define _ASM #include <bits/setjmp.h> -.globl setjmp; +.global setjmp .type setjmp,%function -.align 4; +.align 4 setjmp: mov r1, #1 - b __sigsetjmp (PLT) -.size setjmp,.-setjmp; +#ifdef __PIC__ + b __sigsetjmp(PLT) +#else + b __sigsetjmp +#endif + +.size setjmp,.-setjmp |
