kumquat-buildroot/toolchain
Yann E. MORIN 3e0440407a toolchain/external: fix building the wrapper on MIPS
Some crazy folks use MIPS machines as build machines. ;-)

On MIPS, the only acceptable hash-style is 'sysv', because the MIPS ABI
defines that the GOT ordering to be the same as the symbols ordering,
while GNU hash requires symbols to be sorted by their hash.

Looking at binutils' code, it seems that only MIPS suffers from that
limitation.

Currently, we force the toolchain wrapper to be linked with both hash
styles, which breaks on MIPS.

So, fix that by singling out MIPS, and use sysv in that case, and both
otherwise.

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-27 22:47:08 +01:00
..
toolchain
toolchain-buildroot
toolchain-external toolchain/external: fix building the wrapper on MIPS 2014-11-27 22:47:08 +01:00
Config.in
helpers.mk package: indentation cleanup 2014-10-23 22:13:29 +02:00
toolchain-common.in toolchain: do not allow locale generation when locale support is not available 2014-11-21 21:50:59 +01:00
toolchain.mk system/skeleton: make nsswitch install conditional 2014-10-25 12:48:17 +02:00