Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
1 # Super-H specific configuration file
3 comment "Super-H specific configuration"
23 config ARCH_SH_VARIANT
25 default "sh3" if ARCH_SH_SH3
26 default "sh4" if ARCH_SH_SH4
27 default "sh4a" if ARCH_SH_SH4A