
Dear Marek Vasut,
In message 1343414125-23359-1-git-send-email-marex@denx.de you wrote:
Import ashldr3, ashrdi3 and lshrdi3 to squash possible libgcc fp mismatch, resulting in the following warning:
mips-linux-gnu-ld: Warning: /usr/lib/gcc/mips-linux-gnu/4.7/libgcc.a(_lshrdi3.o) uses hard float, u-boot uses soft float mips-linux-gnu-ld: Warning: /usr/lib/gcc/mips-linux-gnu/4.7/libgcc.a(_ashldi3.o) uses hard float, u-boot uses soft float
We consider this a bug in the tool chain. We provide a workarounf for such broken tool chains, but it has to be enabled explicitly by setting USE_PRIVATE_LIBGCC
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 9244f31..a469e30 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -34,6 +34,8 @@ else COBJS-y += bootm.o endif
+COBJS-y += ashldi3.o ashrdi3.o lshrdi3.o
Please make this dependent on USE_PRIVATE_LIBGCC being set.
Best regards,
Wolfgang Denk