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

Wolfgang Denk
2015-07-03T09:25:34Z

Dear Masahiro,

In message <CAK7LNARHZB0mquGQjF4UOS4ztBsC2V3-jddJaYvbxmNB+i=MoQ@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