kumquat-buildroot/package/gcc
Thomas Petazzoni 85d0769ac5 arch/arm: add support for Thumb2
Until now, we were using the default ARM instruction set, as used by
the toolchain: the 32 bits ARM instruction set for the internal
backend, and for external toolchain, whatever default was chosen when
the toolchain was generated.

This commit adds support for the Thumb2 instruction set. To do so, it:

 * provides a menuconfig choice between ARM and Thumb2. The choice is
   only shown when Thumb2 is supported, i.e on ARMv7-A CPUs.

 * passes the --with-mode={arm,thumb} option when building gcc in the
   internal backend. This tells the compiler which type of
   instructions it should generate.

 * passes the m{arm,thumb} option in the external toolchain
   wrapper. ARM and Thumb2 code can freely be mixed together, so the
   fact that the C library has been built either ARM or Thumb2 and
   that the rest of the code is built Thumb2 or ARM is not a problem.

[Peter: fix empty BR2_GCC_TARGET_MODE check]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-16 15:28:03 +02:00
..
4.2.2-avr32-2.1.5 toolchain: switch to using gcc through package infrastructure 2013-07-03 23:00:02 +02:00
4.3.6 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.4.7 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.4.7-arc toolchain: switch to using gcc through package infrastructure 2013-07-03 23:00:02 +02:00
4.5.4 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.6.4 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.7.3 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
4.8.1 gcc-initial, gcc-intermediate, gcc-final: optimize extraction 2013-07-03 23:37:23 +02:00
gcc-final gcc: create symbolic link to ld-linux in EABIhf/gcc 4.7/eglibc 2013-07-16 15:22:10 +02:00
gcc-initial gcc: use BR2_EXTRA_GCC_CONFIG_OPTIONS in gcc-initial and gcc-intermediate 2013-07-14 22:07:38 +02:00
gcc-intermediate gcc: use BR2_EXTRA_GCC_CONFIG_OPTIONS in gcc-initial and gcc-intermediate 2013-07-14 22:07:38 +02:00
Config.in.host gcc: take into account ARM floating point capabilities 2013-07-16 15:11:44 +02:00
gcc.mk arch/arm: add support for Thumb2 2013-07-16 15:28:03 +02:00