From c8743fc5e5d6959e82d0d5d3ef03c36987921423 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Mon, 30 May 2016 22:03:57 +0200 Subject: [PATCH] config.gcc: Move hard float support for arm*hf*-*-freebsd* into armv6*-*-freebsd* for... 2016-05-30 Andreas Tobler * 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 | 6 ++++++ gcc/config.gcc | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c023ff32b0..6cdcdbcfacc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-30 Andreas Tobler + + * 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 * config.gcc (sparc*-*-*): Support cpu_32, cpu_64, tune_32 and diff --git a/gcc/config.gcc b/gcc/config.gcc index d0a388090b7..ae6e9aef837 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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} -- 2.30.2