crt0.o from newlib has ARM32-only routines when building gcc for arm-eabi

David Fernandez david.fernandez.work@googlemail.com
Mon Jun 18 22:26:00 GMT 2012


On 18/06/12 22:42, Khem Raj wrote:
> On Mon, Jun 18, 2012 at 2:07 PM, David Fernandez
> <david.fernandez.work@googlemail.com> wrote:
>> 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.
> look for compiler cmdline when this was compiled. Did you use --with-mode=thumb
> when configuring the compiler ?
Gosh! I didn't. No idea that it needed a special parameter to have thumb
only mode... even for a CPU that will refuse to compile without "-mthumb"...

Thanks for the tip. I'll try that soon.

Cheers

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list