(call26_operand): Allow in PIC mode.
authorKazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Fri, 9 Jan 2004 17:04:47 +0000 (17:04 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 9 Jan 2004 17:04:47 +0000 (17:04 +0000)
From-SVN: r75589

gcc/ChangeLog
gcc/config/m32r/m32r.c

index 70f779ea9a2b25a57ce92be43bf62c9381a20284..02f11ac0f2b78fd7d78ba0a4a92bb0b0b316fcde 100644 (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>
 
index f1c5c35383d6cf02663556c75a4f51bebecb629b..ce9abebc2c88ac0dd80995a9b83b170dfa60a486 100644 (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;