2017-10-10 Andreas Tobler <andreast@gcc.gnu.org>
* config.gcc: (armv7*-*-freebsd*): New target.
Define TARGET_FREEBSD_ARMv7
* config/arm/freebsd.h: Use TARGET_FREEBSD_ARMv7 to define the
default cpu for armv7*-*-freebsd*.
From-SVN: r253604
+2017-10-10 Andreas Tobler <andreast@gcc.gnu.org>
+
+ * config.gcc: (armv7*-*-freebsd*): New target.
+ Define TARGET_FREEBSD_ARMv7
+ * config/arm/freebsd.h: Use TARGET_FREEBSD_ARMv7 to define the
+ default cpu for armv7*-*-freebsd*.
+
2017-10-02 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
fi
;;
+ armv7*-*-freebsd*)
+ tm_defines="${tm_defines} TARGET_FREEBSD_ARMv7=1"
+ tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+ ;;
esac
with_tls=${with_tls:-gnu}
;;
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
-#if defined (TARGET_FREEBSD_ARMv6)
+#if defined (TARGET_FREEBSD_ARMv7)
+#undef SUBTARGET_CPU_DEFAULT
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_genericv7a
+#elif defined (TARGET_FREEBSD_ARMv6)
#undef SUBTARGET_CPU_DEFAULT
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm1176jzs
#else