mips.c (override_options): Allow abi32 with 64 bit registers.

* config/mips/mips.c (override_options): Allow abi32 with 64 bit
	registers.

From-SVN: r45464
This commit is contained in:
Aldy Hernandez 2001-09-07 12:52:49 +00:00 committed by Aldy Hernandez
parent 4cba3b67af
commit 1dee47c328
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-09-06 Aldy Hernandez <aldyh@redhat.com>
* config/mips/mips.c (override_options): Allow abi32 with 64 bit
registers.
2001-09-07 Andreas Jaeger <aj@suse.de>
* i386.h (TARGET_SWITCHES): Fix descriptions.

View File

@ -4819,9 +4819,8 @@ override_options ()
/* If both ABI and ISA were specified, check for conflicts. */
else if (mips_isa_string && mips_abi_string)
{
if ((! ISA_HAS_64BIT_REGS && (mips_abi == ABI_N32 || mips_abi == ABI_64
if (! ISA_HAS_64BIT_REGS && (mips_abi == ABI_N32 || mips_abi == ABI_64
|| mips_abi == ABI_O64))
|| (ISA_HAS_64BIT_REGS && mips_abi == ABI_32))
error ("-mabi=%s does not support -mips%d", mips_abi_string, mips_isa);
}