aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-01-15 16:15:43 +1030
committerAlan Modra <amodra@gmail.com>2020-01-15 16:29:19 +1030
commit6824500f42c02fea174b5e62889b7910e45d51f3 (patch)
treeed872c0c23111d1dc88cb520eee78619b5ff6fb7 /gas
parent02efd171de60180efa8f77e311cd1382a52553c6 (diff)
downloadgdb-6824500f42c02fea174b5e62889b7910e45d51f3.zip
gdb-6824500f42c02fea174b5e62889b7910e45d51f3.tar.gz
gdb-6824500f42c02fea174b5e62889b7910e45d51f3.tar.bz2
Reinstate gas em=freebsd for sparc-freebsd
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. (cherry picked from commit c24d0e8d4850d4913a1630a53e272c930849406d)
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/configure.tgt1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 81f066d..e9a9b22 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2020-01-15 Alan Modra <amodra@gmail.com>
+
+ * configure.tgt: Add sparc-*-freebsd case.
+
2020-01-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
Backported from mainline.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index a4828c4..c0d2fe2 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 ;;