[committed] MIPS/GAS: Correct `mips-*-windiss' target emulation configuration

Message ID alpine.DEB.2.00.1801221727550.20647@tp.orcam.me.uk
State New
Headers show
  • [committed] MIPS/GAS: Correct `mips-*-windiss' target emulation configuration
Related show

Commit Message

Maciej W. Rozycki Jan. 26, 2018, 11:07 p.m.
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

	* configure.tgt: Use generic emulation for `mips-*-windiss',
	overriding the blanket choice made for `*-*-windiss'.

 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.


 gas/configure.tgt |    1 +
 1 file changed, 1 insertion(+)



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 ;;