mips.c (mips_classify_constant): Only allow UNSPECs if TARGET_EXPLICIT_RELOCS.
* config/mips/mips.c (mips_classify_constant): Only allow UNSPECs if TARGET_EXPLICIT_RELOCS. From-SVN: r72137
This commit is contained in:
parent
77a7ed6029
commit
0cb733bf23
|
@ -1,3 +1,8 @@
|
|||
2003-10-06 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
|
||||
if TARGET_EXPLICIT_RELOCS.
|
||||
|
||||
2003-10-06 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR bootstrap/12512
|
||||
|
|
|
@ -853,7 +853,8 @@ mips_classify_constant (struct mips_constant_info *info, rtx x)
|
|||
x = XEXP (x, 0);
|
||||
}
|
||||
|
||||
if (GET_CODE (x) == UNSPEC
|
||||
if (TARGET_EXPLICIT_RELOCS
|
||||
&& GET_CODE (x) == UNSPEC
|
||||
&& mips_reloc_offset_ok_p (XINT (x, 1), info->offset))
|
||||
{
|
||||
info->reloc = XINT (x, 1);
|
||||
|
|
Loading…
Reference in New Issue