This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>I found m68k-coff-gcc add 'link %a6, #n' in the begin and >'unlk %a6' in the end of every function. >I knew this is because gcc try to allocate stack >for the locale variable. >But when the function is without local variable or only >content inline assmebly. It (link %a6, #0) still there. >How can I take it off. Add -fomit-frame-pointer to command line, and it will remove the use of a6 as a frame pointer for *all* of the functions in that file. It unfortunately make debugging the code nearly impossible since gdb can't figure out the stack backtrace without a frae pointer.... -- Peter Barada pbarada@mail.wm.sps.mot.com Wizard 781-852-2768 (direct) WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax) "The real art of conversation is not only to say the right thing at the right time, but also to leave unsaid the wrong thing at the tempting moment." -- Unknown ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |