[arm] PR target/83105: Minor change of default CPU for arm-linux-gnueabi
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 20 Dec 2017 10:30:00 +0000 (10:30 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Wed, 20 Dec 2017 10:30:00 +0000 (10:30 +0000)
commit87fd6bde4c3a6772dca6920c6bd2f849442eea2f
treeea1be43e13cae7ddbb54a32e70ac9e455c37b2ed
parent0e0cefc62e713f0b419bca0c8a931c9c912e214e
[arm] PR target/83105: Minor change of default CPU for arm-linux-gnueabi

When GCC for ARM/linux is configured with --with-float=hard, or
--with-float=softfp the compiler will now die when trying to build the
support libraries because the baseline architecture is too old to
support VFP (older versions of GCC just emitted the VFP instructions
anyway, even though they wouldn't run on that version of the
architecture; but we're now more prickly about it).

This patch fixed the problem by raising the default architecture
(actually the default CPU) to ARMv5te (ARM10e) when we need to generate
HW floating-point code.

PR target/83105
* config.gcc (arm*-*-linux*): When configured with --with-float=hard
or --with-float=softfp, set the default CPU to arm10e.

From-SVN: r255858
gcc/ChangeLog
gcc/config.gcc