OSDN Git Service

* config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Sep 2000 11:00:17 +0000 (11:00 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Sep 2000 11:00:17 +0000 (11:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36266 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.md

index 794cf5d..9afedb2 100644 (file)
@@ -1,3 +1,7 @@
+2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
+
 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
index f4dc1ab..19925a7 100644 (file)
@@ -3516,7 +3516,7 @@ else
                         (unspec [(match_operand:SI 1 "" "")] 9))
                (const (plus:SI (label_ref (match_operand:SI 2 "" ""))
                                (const_int 2))))))
-   (use (match_dup 2))]
+   (use (match_dup 3))]
   ;; Even though the PIC register is not really used by the call
   ;; sequence in which this is expanded, the PLT code assumes the PIC
   ;; register is set, so we must not skip its initialization.  Since
@@ -3530,7 +3530,7 @@ else
   ;; shared libraries.
   "" "
 {
-  operands[2] = pic_offset_table_rtx;
+  operands[3] = pic_offset_table_rtx;
   current_function_uses_pic_offset_table = 1;
 }")