Re: SPARC64 on FreeBSD semi-broken, fix proposal

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: SPARC64 on FreeBSD semi-broken, fix proposal

Alan Modra-3
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