Commit 142ee136 by Richard Sandiford Committed by Richard Sandiford

re PR target/11699 (internal compiler error, unrecognized instruction.)

	PR target/11699
	* config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.

From-SVN: r70274
parent 0f492da1
2003-08-09 Richard Sandiford <rsandifo@redhat.com>
PR target/11699
* config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.md (extzv, extv, insv): Fix operand limit checks. Fail if * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if
......
...@@ -5037,6 +5037,13 @@ override_options () ...@@ -5037,6 +5037,13 @@ override_options ()
if (TARGET_BRANCHLIKELY && !ISA_HAS_BRANCHLIKELY) if (TARGET_BRANCHLIKELY && !ISA_HAS_BRANCHLIKELY)
warning ("generation of Branch Likely instructions enabled, but not supported by architecture"); warning ("generation of Branch Likely instructions enabled, but not supported by architecture");
/* The effect of -mabicalls isn't defined for the EABI. */
if (mips_abi == ABI_EABI && TARGET_ABICALLS)
{
error ("unsupported combination: %s", "-mabicalls -mabi=eabi");
target_flags &= ~MASK_ABICALLS;
}
/* -fpic (-KPIC) is the default when TARGET_ABICALLS is defined. We need /* -fpic (-KPIC) is the default when TARGET_ABICALLS is defined. We need
to set flag_pic so that the LEGITIMATE_PIC_OPERAND_P macro will work. */ to set flag_pic so that the LEGITIMATE_PIC_OPERAND_P macro will work. */
/* ??? -non_shared turns off pic code generation, but this is not /* ??? -non_shared turns off pic code generation, but this is not
......
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