[U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

Wolfgang Denk wd at denx.de
Fri Jul 3 11:25:34 CEST 2015


Dear Masahiro,

In message <CAK7LNARHZB0mquGQjF4UOS4ztBsC2V3-jddJaYvbxmNB+i=MoQ at mail.gmail.com> you wrote:
> 
> If I revert c3dd823, I get the following error on some boards
> and with some toolchains.
> 
> /opt/crosstools/sh4-gentoo-linux-gnu/bin/sh4-gentoo-linux-gnu-ld.bfd:
> /opt/crosstools/sh4-gentoo-linux-gnu/libexec/gcc/sh4-gentoo-linux-gnu/4.7.1/../../../../lib/gcc/sh4-gentoo-linux-gnu/4.7.1/libgcc.a(_movmem.o):
> compiled for a little endian system and target is big endian

So the cross tool chain does not support big endian systems.

> In my understanding, SuperH is also dual-endian architecture.
> So, I think the situation is similar to MIPS.
> 
> SH2 is fixed to big-endian, but SH3 and later support both big and little.

Thanks for pointing out.  I was not aware of this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Beware of programmers carrying screwdrivers."      - Chip Salzenberg


More information about the U-Boot mailing list