From: Maciej W. Rozycki Date: Fri, 26 Jan 2018 23:05:05 +0000 (+0000) Subject: MIPS/GAS: Correct `mips-*-sysv4*' target emulation configuration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c00f0d7a8a680a2496c7e575f1da6505a8a4915a;p=binutils-gdb.git MIPS/GAS: Correct `mips-*-sysv4*' target emulation configuration Use `mips-*-sysv4*' rather than `mips-*-sysv4*MP*' to match the system type for System V Release 4 MIPS targets, removing a GAS target selection failure: Assembler messages: Fatal error: selected target format 'elf32-bigmips' unknown on any assembly attempt with `mips-sysv4' and equivalent target configurations. These would typically be called `mips-sni-sysv4' (Sinix) vs `mips-dde-sysv4.2MP' (Supermax). This corrects commit 8614eeee67f9 ("Traditional MIPS patches"), , making GAS target selection match commit dd745cfae548 ("Traditional MIPS patches"), , and commit 3548145dcbf6 ("Traditional MIPS patches"), , which added support for these targets to BFD and LD respectively. gas/ * configure.tgt: Use `mips-*-sysv4*' rather than `mips-*-sysv4*MP*'. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6773b02cf03..6558c7cd89e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-01-26 Maciej W. Rozycki + + * configure.tgt: Use `mips-*-sysv4*' rather than + `mips-*-sysv4*MP*'. + 2018-01-24 Renlin Li * config/tc-aarch64.c (reloc_table): add entries for diff --git a/gas/configure.tgt b/gas/configure.tgt index afe4e0608cf..12bd9b2e2ca 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -345,7 +345,7 @@ case ${generic_target} in mips*-*-linux*) fmt=elf em=tmips ;; mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) fmt=elf em=freebsd ;; - mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; + mips-*-sysv4* | mips-*-gnu*) fmt=elf em=tmips ;; mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) fmt=elf em=tmips ;; mips-*-elf*) fmt=elf ;;