[En-Nut-Discussion] ARM Thumb Mode anyone
Harald Kipp
harald.kipp at egnite.de
Wed Mar 31 13:50:22 CEST 2010
Bernd Walter wrote:
> On Wed, Mar 31, 2010 at 10:40:48AM +0200, Harald Kipp wrote:
>> libgcc.a(_udivsi3.o)(__udivsi3): warning: interworking not enabled.
>> first occurrence: utils.o: Thumb call to ARM
>
> It seems you are using a libgcc version, which is not compiled with
> thumb-interwork.
> Did you tell the linker that it needs to use the interwork version?
I wasn't aware, that I have to tell this the linker as well.
Indeed, after adding -mthumb-interwork as a linker option, the whole
bootloader code gets linked in thumb mode.
The size of the ARM binary is 11072 bytes, the Thumb version needs 8032
bytes only. :-)
Many thanks,
Harald
More information about the En-Nut-Discussion
mailing list