
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