(call26_operand): Allow in PIC mode.

From-SVN: r75589
This commit is contained in:
Kazuhiro Inaoka 2004-01-09 17:04:47 +00:00 committed by Nick Clifton
parent df68f43bb2
commit 900a35c82b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
* config/m32r/m32r.c (call26_operand): Allow in PIC mode.
2004-01-09 Kazu Hirata <kazu@cs.umass.edu>

View File

@ -590,7 +590,7 @@ int
call26_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{
if (flag_pic)
return 0;
return 1;
if (GET_CODE (op) == SYMBOL_REF)
return SYMBOL_REF_MODEL (op) != M32R_MODEL_LARGE;