[NDS32] Define PIC_OFFSET_TABLE_REGNUM to $gp register.
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 08:02:37 +0000 (08:02 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 08:02:37 +0000 (08:02 +0000)
* config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.

From-SVN: r214849

gcc/ChangeLog
gcc/config/nds32/nds32.h

index ca786c20efc4b6b69bdf83461310cffdf1cc6d2c..00603fa4f9a8469765acabd8001bdb50d8fdc0a6 100644 (file)
@@ -1,3 +1,7 @@
+2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
+
 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
 
        * cfgexpand.c (label_rtx_for_bb): Change type to
index bbcf1005e02752857e39e74fd99d3a57db670462..22593fe4bbb8bb8e461392d0f71b518c0329f677 100644 (file)
@@ -813,6 +813,8 @@ enum reg_class
 \f
 /* Position Independent Code.  */
 
+#define PIC_OFFSET_TABLE_REGNUM GP_REGNUM
+
 \f
 /* Defining the Output Assembler Language.  */