Hi all,

The FreeBSD ARM people eliminated the extra armv6hf target and moved the hardfloat 'functionality' into the armv6-*-freebsd11+ target. This applies / will apply (FreeBSD11 is not released yet. Planned date in September 16) to FreeBSD11. On FreeBSD10 armv6 still has only soft float. The armv6hf is not life on FreeBSD10.

This simplifies life a bit.

I'll commit the attached patch to all the active branches. Regarding the gcc-5 branch, do I have permission to apply?

TIA,
Andreas

2016-05-27  Andreas Tobler  <andre...@gcc.gnu.org>

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

Index: config.gcc
===================================================================
--- config.gcc  (revision 236835)
+++ config.gcc  (working copy)
@@ -1058,13 +1058,11 @@
        case $target in
        armv6*-*-freebsd*)
            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
            ;;
        esac
-       case $target in
-       arm*hf-*-freebsd*)
-           tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
-           ;;
-       esac
        with_tls=${with_tls:-gnu}
        ;;
 arm*-*-netbsdelf*)

Reply via email to