buildroot/arch
Yann E. MORIN e4b1fa69cd arch/arm: VFP and Thumb1 are not compatible
gcc will refuse to build with both --with-mode=thumb and --with-fpu=vfp,
with error messages during ./configure, like:

    checking for suffix of object files... configure: error: in `/home/ymor
    in/dev/buildroot/O/build/host-gcc-initial-4.9.3/build/arm-buildroot-lin
    ux-uclibcgnueabihf/libgcc':
    configure: error: cannot compute suffix of object files: cannot compile
    See `config.log' for more details.

And config.log informatively contains:

    sorry, unimplemented: Thumb-1 hard-float VFP ABI

This is an error message that comes deep from gcc source files.

If gcc says it does not support VFP with Thumb1, then let's disable that
combination in our menuconfig.

Prefer VFP over Thumb1, i.e. hide Thumb1 when we're not soft-float.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-03 23:50:01 +01:00
..
Config.in toolchain: add sparc64 architecture support 2015-10-10 12:51:45 +02:00
Config.in.aarch64 aarch64: add big endian(aarch64_be) support 2015-07-12 18:32:37 +02:00
Config.in.arc ARC: allow selection of MMU page size 2015-07-18 14:07:35 +02:00
Config.in.arm arch/arm: VFP and Thumb1 are not compatible 2015-11-03 23:50:01 +01:00
Config.in.bfin arch/bfin: always has atomic ops 2014-08-18 11:01:31 +02:00
Config.in.m68k arch/m68k: get rid of BR2_GCC_TARGET_TUNE 2014-11-07 00:14:13 +01:00
Config.in.microblaze arch/microblaze: always has atomic ops 2014-08-18 11:02:31 +02:00
Config.in.mips arch: add support for mips32r6 and mips64r6 variants 2015-10-12 21:33:56 +02:00
Config.in.nios2 arch/nios2: always has atomic ops 2014-08-18 11:02:51 +02:00
Config.in.powerpc arch/powerpc: add fsl e5500 and e6500 support 2014-12-07 23:46:41 +01:00
Config.in.sh arch/sh: always has atomic ops 2014-08-18 11:03:02 +02:00
Config.in.sparc toolchain: add sparc64 architecture support 2015-10-10 12:51:45 +02:00
Config.in.x86 arch/Config.in.x86: drop trailing dot (.) from x1000 URL 2015-10-20 11:32:03 +02:00
Config.in.xtensa arch: tidy up mmu config 2015-06-09 22:49:39 +02:00