public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] config.gcc FreeBSD ARM
@ 2016-05-28 12:53 Andreas Tobler
  2016-05-31  9:26 ` Andreas Tobler
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 2016-05-28 12:53 UTC (permalink / raw)
  To: GCC Patches

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  <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*)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] config.gcc FreeBSD ARM
  2016-05-28 12:53 [patch] config.gcc FreeBSD ARM Andreas Tobler
@ 2016-05-31  9:26 ` Andreas Tobler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Tobler @ 2016-05-31  9:26 UTC (permalink / raw)
  To: GCC Patches

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*)
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-30 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-28 12:53 [patch] config.gcc FreeBSD ARM Andreas Tobler
2016-05-31  9:26 ` Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).