This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
At 14:39 11.1.2002 +0000, David Korn wrote: >> If I compile with -S and look at the assembler sources, the only >>difference between the gcc generated code between -meabi and -mno-eabi >> -options is the different alignment of the stack. With both options, >>the call to __eabi is there. >> >>Is there something wrong with the Gcc 3.0.3 or is it just me ? > > If you use both options I don't know which one wins the conflict, so >there's nothing necessarily wrong with it adding the call in that case. >But it definitely shouldn't add the call if you've used -mno-eabi! > > It might be the case that some line of the specs file is adding -meabi >to the compiler flags, and that -meabi overrides -mno-eabi, in which case >the specs file is at fault. Otherwise, it seems very clear that this is >a genuine bug in gcc that you should report to the gcc-bugs list or >using the form at gcc.gnu.org I only tried to use either -meabi (this seems to be the default for this powerpc-*-eabi -target) or -mno-eabi. When I use the -mno-eabi, there is a different stack alignment but the call to __eabi still insists being there. I guess I will have to look at the specs file. The older compiler version on the Linux box works differently than this (=correcly) with the -mno-eabi. Antti-Pekka --- * Antti-Pekka Virjonen * Fiskarsinkatu 7 D * GSM: +358 400 789753 * * Computec Oy Turku * FIN-20750 Turku Finland * Fax: +358 2 413 7777 * ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |