predicates.md (const_call_insn_operand): Invoke SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.
* config/mips/predicates.md (const_call_insn_operand): Invoke SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs. From-SVN: r127351
This commit is contained in:
parent
c749c2ee4a
commit
ac2610bf42
@ -1,3 +1,8 @@
|
||||
2007-08-10 Adam Nemet <anemet@caviumnetworks.com>
|
||||
|
||||
* config/mips/predicates.md (const_call_insn_operand): Invoke
|
||||
SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.
|
||||
|
||||
2007-08-10 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
PR target/33042
|
||||
|
@ -115,7 +115,7 @@
|
||||
/* If -mlong-calls or if this function has an explicit long_call
|
||||
attribute, we must use register addressing. The
|
||||
SYMBOL_FLAG_LONG_CALL bit is set by mips_encode_section_info. */
|
||||
return !SYMBOL_REF_LONG_CALL_P (op);
|
||||
return !(GET_CODE (op) == SYMBOL_REF && SYMBOL_REF_LONG_CALL_P (op));
|
||||
|
||||
case SYMBOL_GOT_DISP:
|
||||
/* Without explicit relocs, there is no special syntax for
|
||||
|
Loading…
Reference in New Issue
Block a user