config.gcc (armv7*-*-freebsd*): New target.
authorAndreas Tobler <andreast@gcc.gnu.org>
Tue, 10 Oct 2017 18:33:48 +0000 (20:33 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Tue, 10 Oct 2017 18:33:48 +0000 (20:33 +0200)
2017-10-10  Andreas Tobler  <andreast@gcc.gnu.org>

    * config.gcc (armv7*-*-freebsd*): New target.
    (armv6*-*-freebsd*): Remove obsolete TARGET_FREEBSD_ARMv6 define.

From-SVN: r253602

gcc/ChangeLog
gcc/config.gcc

index 41d3baf863e7630468e9a91d7b5c9f444607522e..8e9aab88f305118a2cad219a372b069de3d0e8ec 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
+
+       * config.gcc (armv7*-*-freebsd*): New target.
+       (armv6*-*-freebsd*): Remove obsolete TARGET_FREEBSD_ARMv6 define.
+
 2017-10-10  Jan Hubicka  <hubicka@ucw.cz>
 
        * x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI, X86_TUNE_ADJUST_UNROLL,
index ee92f70904a72c6051e3f5b8cd146a69dced6bcd..39573b6985b7cc025619e1da64b652ad3e511d2b 100644 (file)
@@ -1094,11 +1094,14 @@ arm*-*-freebsd*)                # ARM FreeBSD EABI
        case $target in
        armv6*-*-freebsd*)
            target_cpu_cname="arm1176jzf-s"
-           tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
             if test $fbsd_major -ge 11; then
                tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
             fi
            ;;
+       armv7*-*-freebsd*)
+           target_cpu_cname="generic-armv7-a"
+           tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+           ;;
        *)
            target_cpu_cname="arm9"
            ;;