From: Andreas Tobler Date: Mon, 30 May 2016 20:03:57 +0000 (+0200) Subject: config.gcc: Move hard float support for arm*hf*-*-freebsd* into armv6*-*-freebsd... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8743fc5e5d6959e82d0d5d3ef03c36987921423;p=gcc.git 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 --- 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}