Re: Unwind bug on out of line code called from leaf functions

From: David Mosberger <>
Date: 2003-11-27 11:32:00
>>>>> On Thu, 27 Nov 2003 11:12:18 +1100, Keith Owens <> said:

  Keith> I know that gcc 3.4 overcomes this problem by saving ar.pfs
  Keith> in leaf functions and using  However we need a fix
  Keith> for gcc in the current distributions,

Sounds reasonable.

  Keith> even with gcc 3.4 we may wish to use out of line code that
  Keith> does not save ar.pfs in the future.

That would need a some solid argument!

  Keith> We need a generic fix for unwinding through out of line code
  Keith> called from leaf functions and not using  The
  Keith> obvious solution is to flag all out of line code with an
  Keith> unwind abi field and have the common unwind code reset
  Keith> ar.pfs.  Can I use .unwabi 3, 'o' for out of line?

The .unwabi directive isn't appropriate for that.  If you want such a
feature, please push it through the ABI committee to get it officially
supported.  I've said that before, I think.

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 19:32:19 2003

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