Commit 1dee47c3 by Aldy Hernandez Committed by Aldy Hernandez

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
parent 4cba3b67
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> 2001-09-07 Andreas Jaeger <aj@suse.de>
* i386.h (TARGET_SWITCHES): Fix descriptions. * i386.h (TARGET_SWITCHES): Fix descriptions.
......
...@@ -4819,9 +4819,8 @@ override_options () ...@@ -4819,9 +4819,8 @@ override_options ()
/* If both ABI and ISA were specified, check for conflicts. */ /* If both ABI and ISA were specified, check for conflicts. */
else if (mips_isa_string && mips_abi_string) 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)) || 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); error ("-mabi=%s does not support -mips%d", mips_abi_string, mips_isa);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment