(input_operand): Correctly check for SYMBOL_REF referring to the TOC.
From-SVN: r8598
This commit is contained in:
parent
3526f73054
commit
7fec4abdf4
@ -554,7 +554,7 @@ input_operand (op, mode)
|
||||
return 1;
|
||||
|
||||
/* A SYMBOL_REF referring to the TOC is valid. */
|
||||
if (GET_CODE (op) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (op))
|
||||
if (LEGITIMATE_CONSTANT_POOL_ADDRESS_P (op))
|
||||
return 1;
|
||||
|
||||
/* Otherwise, we will be doing this SET with an add, so anything valid
|
||||
|
Loading…
Reference in New Issue
Block a user