This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] config.gcc FreeBSD ARM


On 27.05.16 22:34, Andreas Tobler wrote:
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?

Committed to trunk and gcc-6, waiting till gcc-5 is open again.

Andreas

2016-05-27  Andreas Tobler  <andreast@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*)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]