This is the mail archive of the crossgcc@sourceware.cygnus.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] |
CARERI/SED wrote: > > I encountered the same problem as you when I built cross-gcc on cygwin for target i386-rtems. > > And I tracked the source code and found out why the compiler generates ".align 3", not ".align 2^3" (that is ".align 8"): > The Makefile uses the file: .../gcc/config/i386/bsd.h, in which there is one line > #define ASM_OUTPUT_ALIGN(FILE,LOG) \ > if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG)) I guess that the "p2align" pseudo-op works pretty good in this case. Substitute align with p2align. -- Johan Rydberg johan.rydberg@netinsight.net Net Insight AB, Sweden direct: +46-8-685 04 17 http://www.netinsight.net phone: +46-8-685 04 00 fax: +46-8-685 04 20 ------ 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] |