From: Chung-Ju Wu Date: Wed, 3 Sep 2014 08:02:37 +0000 (+0000) Subject: [NDS32] Define PIC_OFFSET_TABLE_REGNUM to $gp register. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64a08b7f989fa4a1bace97187e5665ebeb6ea586;p=gcc.git [NDS32] Define PIC_OFFSET_TABLE_REGNUM to $gp register. * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define. From-SVN: r214849 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca786c20efc..00603fa4f9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-09-03 Chung-Ju Wu + + * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define. + 2014-09-02 Trevor Saunders * cfgexpand.c (label_rtx_for_bb): Change type to diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h index bbcf1005e02..22593fe4bbb 100644 --- a/gcc/config/nds32/nds32.h +++ b/gcc/config/nds32/nds32.h @@ -813,6 +813,8 @@ enum reg_class /* Position Independent Code. */ +#define PIC_OFFSET_TABLE_REGNUM GP_REGNUM + /* Defining the Output Assembler Language. */