Hi Imre,
i noticed in r25322 a patch has been committed to support EABI on thumbless ARM
v4 CPUs.
However, the patch only works if -marmv4 is passed to the linker as the default
is armv5t.
Unlike openembedded, openwrt does not pass this option to the linker so i
modified the patch to
#define TARGET_FIX_V4BX_SPEC " --fix-v4bx"
But that makes it unconditional. We should figure out why does it fail right
now.
The reason is gcc uses arm9tdmi by default (830-arm_unbreak_armv4t.patch sets
this).
IMHO, it is better to specify the default ARCH during concigure time. We use
different
suffixes for the different ARM ARCHs anyways. Patch for armv4 follows.
Thanks,
Jochen
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel