kumquat-buildroot/arch
Vicente Olivert Riera 9a0a0a976b arch/mips: add support for MIPS32 FP mode
MIPS32 support different FP modes (32,xx,64), so give the user the
opportunity to choose between them. That will cause host-gcc to be built
using the --with-fp-32=[32|xx|64] configure option. Also the
-mfp[32|xx|64] gcc option will be added to TARGET_CFLAGS and to the
toolchain wrapper.

FP mode option shouldn't be used for soft-float, so we add logic in the
toolchain wrapper if -msoft-float is among the arguments in order to not
append the -fp[[32|xx|64] option, otherwise the compilation may fail.

Information about FP modes here:

- https://sourceware.org/binutils/docs/as/MIPS-Options.html
- https://dmz-portal.imgtec.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#5._Generating_modeless_code

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-16 16:45:22 +02:00
..
arch.mk.xtensa uboot: apply xtensa overlay 2017-07-09 17:03:45 +02:00
Config.in arch/mips: add support for MIPS32 FP mode 2017-07-16 16:45:22 +02:00
Config.in.arc arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
Config.in.arm arch/arm: fix -mcpu default values for AArch64 2017-07-10 18:04:16 +02:00
Config.in.bfin arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.csky arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.m68k arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.microblaze arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.mips arch/mips: add support for MIPS32 FP mode 2017-07-16 16:45:22 +02:00
Config.in.nios2 arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.or1k arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.powerpc arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.sh arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.sparc arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.x86 arch: add BR2_READELF_ARCH_NAME hidden config option 2017-03-20 22:22:17 +01:00
Config.in.xtensa arch/xtensa: allow specifying path to tarball file 2017-07-09 15:41:51 +02:00