config.gcc: Move hard float support for arm*hf*-*-freebsd* into armv6*-*-freebsd...
authorAndreas Tobler <andreast@gcc.gnu.org>
Mon, 30 May 2016 20:03:57 +0000 (22:03 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 30 May 2016 20:03:57 +0000 (22:03 +0200)
2016-05-30  Andreas Tobler  <andreast@gcc.gnu.org>

    * config.gcc: Move hard float support for arm*hf*-*-freebsd* into
    armv6*-*-freebsd* for FreeBSD 11. Eliminate the arm*hf*-*-freebsd*
    target.

From-SVN: r236898

gcc/ChangeLog
gcc/config.gcc

index 7c023ff32b07a95dfbc301db5db364de1807a683..6cdcdbcfaccbc4d3d3924a6bb2294098e3300dff 100644 (file)
@@ -1,3 +1,9 @@
+2016-05-30  Andreas Tobler  <andreast@gcc.gnu.org>
+
+       * config.gcc: Move hard float support for arm*hf*-*-freebsd* into
+       armv6*-*-freebsd* for FreeBSD 11. Eliminate the arm*hf*-*-freebsd*
+       target.
+
 2016-05-30  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
        * config.gcc (sparc*-*-*): Support cpu_32, cpu_64, tune_32 and
index d0a388090b70d2e888803b978ee87a5aeb6c0a70..ae6e9aef8371013c3fd03897c1d99b9540faaa4e 100644 (file)
@@ -1058,11 +1058,9 @@ arm*-*-freebsd*)                # ARM FreeBSD EABI
        case $target in
        armv6*-*-freebsd*)
            tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
-           ;;
-       esac
-       case $target in
-       arm*hf-*-freebsd*)
-           tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+            if test $fbsd_major -ge 11; then
+               tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+            fi
            ;;
        esac
        with_tls=${with_tls:-gnu}