This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] fix DWARF_CIE_DATA_ALIGNMENT
- From: Olivier Hainque <hainque at adacore dot com>
- To: Eric Christopher <echristo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Sandiford <rsandifo at redhat dot com>,hainque at adacore dot com
- Date: Tue, 15 Mar 2005 09:36:19 +0100
- Subject: Re: [committed] fix DWARF_CIE_DATA_ALIGNMENT
- References: <1110865865.3904.7.camel@localhost.localdomain>
Eric Christopher wrote:
> Since the stack grows downward this should probably be -4 instead of 4.
> Richard, mind if I commit this to 4.0?
>
> Tested on mips64-elf, no regressions.
:-) We're experiencing troubles with libexc unwinding through GCC code on
IRIX, and this is one of the issues. Having +4 triggers extended_sf
expressions for register saves in the CFI, and the dwarf related tools on
IRIX visibly don't handle them. libexc unwinding is very useful on that
target, as it makes a number of system tools much more usable.
FWIW, in a GCC 3.4 context (not sure about the 4.x status), two other libexc
related issues are that .debug_frame is only emitted with -g, and using 31
as the return_address column does not work.
I have patches to address both, not yet submitted because hard to test
GCC-testsuite-for-all-languages-wise due to local machine load. I can of
course send them along for a-priori comments if you wish.
With Kind Regards,
Olivier