i386-elf/coff cross build
Johan Rydberg
johan.rydberg@netinsight.se
Mon Apr 3 02:25:00 GMT 2000
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
More information about the crossgcc
mailing list