On Thu, Nov 19, 2009 at 4:54 PM, H. Peter Anvin <h...@zytor.com> wrote: > On 11/19/2009 07:44 AM, Andrew Haley wrote: >> >> We're aligning the stack properly, as per the ABI requirements. Can't >> you just fix the tracer? >> > > "Per the ABI requirements?" We're talking 32 bits, here.
Hm, even with void bar (int *); void foo (void) { int x; bar (&x); } gcc -S -O2 -m32 -mincoming-stack-boundary=2 t.c we re-align the stack. That looks indeed bogus. HJ, you invented all this code, what's the reason for the above? Richard.