sigtramp bug-fix (applies to 2.4 and 2.6)

From: David Mosberger <>
Date: 2003-11-27 10:21:07
Laurent Morichetti found a bug in the signal trampoline for which I
just checked in a fix.  The problem was that the trampoline was using
a scratch predicate-register in an unwind-directive.  This was wrong,
because the routine isn't a leaf and that scratch register may get
clobbered by the signal handler.  To work around the problem, simply
switch from using p8 to p1 (that's fine because "pr" is already
saved/restored by the kernel).

For details, see this URL:

Bjorn, could you apply this patch for 2.4 as well?  If it doesn't
apply, let me know (it should be very close though, apart from a large

BTW: If someone were working on an unwind-info validation tool, that
sure would be useful!

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Nov 26 18:26:38 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST