MIPS/GAS: Correct `as --help' always reporting `o32' as the default ABI

Remove an issue with `as --help' always reporting `o32' as the default
ABI regardless of what the default actually is, originally caused by
commit cac012d6d3 ("check mips abi x linker emulation compatibility"),
<https://sourceware.org/ml/binutils/2003-05/msg00187.html> missing an
update here.

	gas/
	* config/tc-mips.c (md_show_usage): Correctly indicate the
	configuration-specific default ABI.
This commit is contained in:
Maciej W. Rozycki 2018-01-23 14:51:22 +00:00
parent f866b262e8
commit b4f6242e95
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2018-01-23 Maciej W. Rozycki <macro@mips.com>
* config/tc-mips.c (md_show_usage): Correctly indicate the
configuration-specific default ABI.
2018-01-23 Maciej W. Rozycki <macro@mips.com>
* config/tc-mips.c (md_show_usage): Report `-mmips16e2' and

View File

@ -20047,9 +20047,14 @@ MIPS options:\n\
fputc ('\n', stream);
fprintf (stream, _("\
-32 create o32 ABI object file (default)\n\
-n32 create n32 ABI object file\n\
-64 create 64 ABI object file\n"));
-32 create o32 ABI object file%s\n"),
MIPS_DEFAULT_ABI == O32_ABI ? _(" (default)") : "");
fprintf (stream, _("\
-n32 create n32 ABI object file%s\n"),
MIPS_DEFAULT_ABI == N32_ABI ? _(" (default)") : "");
fprintf (stream, _("\
-64 create 64 ABI object file%s\n"),
MIPS_DEFAULT_ABI == N64_ABI ? _(" (default)") : "");
}
#ifdef TE_IRIX