This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG 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] |
Hi there, I've been building a arm-eabi toolchain recently, using binutils-2.22, gcc-4.7.1 and newlib-1.20.0 (I think). The problem is that when I build for cortex-m3 (-march=armv7-m -mcpu=cortex-m3 -mthumb), I get the routine _CRTStartup assembled as ARM32 (definitely not thumb or thumb-2). The file crt0.o seems generated during gcc build. Is that expected? As crt0.S in newlib has #ifdefs to choose the right thumb-2, thumb or ARM specific assembler depending on the predefined macros. The only thing I can think of is that it might be forced by the gcc build system, perhaps because linux does not support thumb-only platforms (?)... It might be a very silly thing, but if anybody could tell what is the problem, it would be great. Cheers David Fernandez -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |