This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS: Correct `mips-*-windiss' target emulation configuration
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <binutils at sourceware dot org>
- Date: Fri, 26 Jan 2018 23:07:24 +0000
- Subject: [committed] MIPS/GAS: Correct `mips-*-windiss' target emulation configuration
- Authentication-results: sourceware.org; auth=none
Fix a commit 0a44bf6950b3 ("mips-vxworks support"),
<https://sourceware.org/ml/binutils/2006-03/msg00179.html>, regression
and override the choice of the `vxworks' target environment introduced
with commit ea3eed15006f ("Add generic vxworks GAS target."),
<https://sourceware.org/ml/binutils/2005-01/msg00052.html>, for
`mips-*-windiss' targets as they have not been converted to the VxWorks
target format introduced with the former commit, removing a GAS target
format selection failure:
Assembler messages:
Fatal error: selected target format 'elf32-bigmips-vxworks' unknown
on any assembly attempt with `mips-windiss' and equivalent target
configurations.
gas/
* configure.tgt: Use generic emulation for `mips-*-windiss',
overriding the blanket choice made for `*-*-windiss'.
---
Hi,
Whoever cares about `*-*-windiss' targets is of course welcome to send an
update, however this change does the minimum to unbreak the target and
(along with a linker emulation fix committed next) make it work as it used
to back before commit 0a44bf6950b3.
Maciej
---
gas/configure.tgt | 1 +
1 file changed, 1 insertion(+)
binutils-mips-gas-config-windiss.diff
Index: binutils/gas/configure.tgt
===================================================================
--- binutils.orig/gas/configure.tgt 2018-01-18 23:33:06.000000000 +0000
+++ binutils/gas/configure.tgt 2018-01-19 00:41:44.569127278 +0000
@@ -351,6 +351,7 @@ case ${generic_target} in
mips-*-elf*) fmt=elf ;;
mips-*-netbsd*) fmt=elf em=tmips ;;
mips-*-openbsd*) fmt=elf em=tmips ;;
+ mips-*-windiss) fmt=elf ;;
mmix-*-*) fmt=elf ;;