
On 02/24/2014 04:44 AM, Masahiro Yamada wrote:
Commit 6825a95 (kbuild: use Linux Kernel build scripts) changed the behavior of linkage when USE_PRIAVATE_LIBGCC is defined as "yes". (It dropped arch/arm/lib/eabi_compat.o from the target library.)
Affected boards are all Tegra boards.
This commit gets back the same behavior as before Kbuild series.
Tested-by: Stephen Warren swarren@nvidia.com
... although interestingly, at least with the Ubuntu 12.10 ARM cross-compiler, the resultant U-Boot works fine with or without this patch. I'd have expected it to fail without this patch since it sounds like USE_PRIVATE_LIBGCC might not be honored correctly, but perhaps the linker cmdline order works out such that the custom libgcc happens to be picked up anyway, just not in the way intended.