This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] config.gcc FreeBSD ARM
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 30 May 2016 22:22:08 +0200
- Subject: Re: [patch] config.gcc FreeBSD ARM
- Authentication-results: sourceware.org; auth=none
- References: <276bb747-bf8d-46e4-5564-22e060002edf at fgznet dot ch>
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*)