A proposal to align GCC stack
Daniel Jacobowitz
drow@false.org
Tue Dec 18 13:52:00 GMT 2007
On Mon, Dec 17, 2007 at 11:25:35PM -0500, Ross Ridge wrote:
> >// Reserve two stack slots and save return address
> >// and previous frame pointer into them. By
> >// pointing new ebp to them, we build a pseudo
> >// stack for unwinding
>
> Hmmm... I don't know much about the DWARF unwind information, but
> couldn't it handle this case without creating the "pseudo frame"?
> Or at least be extended so it could?
In practice, there are non-DWARF unwinders scattered all over that
work on i386 and folks want to keep them working. DWARF has no
trouble handling this sort of thing.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc
mailing list