This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with double arguments to varargs on MIPS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]