This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: SPARC64 on FreeBSD semi-broken, fix proposal
- From: Alan Modra <amodra at gmail dot com>
- To: kraileth at elderlinux dot org
- Cc: binutils at sourceware dot org
- Date: Wed, 15 Jan 2020 16:27:17 +1030
- Subject: Re: SPARC64 on FreeBSD semi-broken, fix proposal
- References: <c0b6852b6138164b69b886e49ee39c2c@elderlinux.org>
In commit c9098af41e3 I over-simplified the sparc target decoding,
missing the fact that prior to that patch sparc-*-freebsd fell through
to the generic *-*-freebsd match.
* configure.tgt: Add sparc-*-freebsd case.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 85c9d1fc22..37224c5144 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -392,6 +392,7 @@ case ${generic_target} in
sparc-*-linux-*) fmt=elf em=linux ;;
sparc-*-solaris*) fmt=elf em=solaris ;;
+ sparc-*-freebsd*) fmt=elf em=freebsd ;;
sparc-*-*bsd*) fmt=elf em=nbsd ;;
spu-*-elf) fmt=elf ;;
--
Alan Modra
Australia Development Lab, IBM