Problems with double arguments to varargs on MIPS
Ian Lance Taylor
iant@google.com
Tue Jan 9 14:13:00 GMT 2007
Simon Kagstrom <simon.kagstrom@bth.se> writes:
> Is the stack-alignment requirements spelled out somewhere? I quickly
> glanced in the gcc and gccint info-pages, but didn't find it there.
Look at STACK_BOUNDARY in the config/CPU/CPU.h file for your target.
For MIPS using the old ABI STACK_BOUNDARY is 64, which means you must
align the stack on a 64-bit boundary in your startup code. For the
new ABI STACK_BOUNDARY is 128.
Ian
More information about the Gcc-help
mailing list