OSDN Git Service

(call26_operand): Allow in PIC mode.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2004 17:04:47 +0000 (17:04 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2004 17:04:47 +0000 (17:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75589 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 70f779e..02f11ac 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 f1c5c35..ce9abeb 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;