Commit beb14bd5 by Richard Sandiford Committed by Richard Sandiford

mips.c (override_options): Disable explicit relocs for old ABIs unless using gas.

	* config/mips/mips.c (override_options): Disable explicit
	relocs for old ABIs unless using gas.

From-SVN: r66949
parent 7e8f3096
2003-05-19 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (override_options): Disable explicit
relocs for old ABIs unless using gas.
2003-05-18 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h: Remove definition of g_switch_value.
......
......@@ -5681,6 +5681,13 @@ override_options ()
target_flags &= ~MASK_EXPLICIT_RELOCS;
}
/* Explicit relocations for "old" ABIs are a GNU extension. Unless
the user has said otherwise, assume that they are not available
with assemblers other than gas. */
if (!TARGET_NEWABI && !TARGET_GAS
&& (target_flags_explicit & MASK_EXPLICIT_RELOCS) == 0)
target_flags &= ~MASK_EXPLICIT_RELOCS;
/* -mrnames says to use the MIPS software convention for register
names instead of the hardware names (ie, $a0 instead of $4).
We do this by switching the names in mips_reg_names, which the
......
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