This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
alpha setjmp fixlet
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at gcc dot gnu dot org
- Date: Tue, 24 Jun 2003 09:31:37 -0700
- Subject: alpha setjmp fixlet
Building with -msmall-text causes the compiler to use bsr !samegp,
and the linker enforces the presense of a .prologue marker that
declares whether the gp is computed or not.
Committed.
r~
* sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
Index: sysdeps/alpha/setjmp.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/alpha/setjmp.S,v
retrieving revision 1.18
diff -c -p -d -u -r1.18 setjmp.S
--- sysdeps/alpha/setjmp.S 31 Dec 2002 20:37:22 -0000 1.18
+++ sysdeps/alpha/setjmp.S 24 Jun 2003 16:16:09 -0000
@@ -74,6 +74,7 @@ END(__sigsetjmp)
ENTRY(_setjmp)
ldgp gp, 0(pv)
+ .prologue 1
mov 0, a1
br $sigsetjmp_local
END(_setjmp)
@@ -81,6 +82,7 @@ libc_hidden_def (_setjmp)
ENTRY(setjmp)
ldgp gp, 0(pv)
+ .prologue 1
mov 1, a1
br $sigsetjmp_local
END(setjmp)