mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 23:51:08 +08:00
Use gen_rtx_REG to set pic_offset_table_rtx
* config/i386/i386.c (x86_output_mi_thunk): Use gen_rtx_REG to set pic_offset_table_rtx. From-SVN: r217448
This commit is contained in:
parent
050af1445b
commit
f03cee1186
@ -1,3 +1,8 @@
|
||||
2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (x86_output_mi_thunk): Use gen_rtx_REG to
|
||||
set pic_offset_table_rtx.
|
||||
|
||||
2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
|
||||
|
||||
* common/config/mips/mips-common.c (mips_handle_option): Ensure
|
||||
|
@ -42697,7 +42697,7 @@ x86_output_mi_thunk (FILE *file, tree, HOST_WIDE_INT delta,
|
||||
// uninitialized. Since FUNCTION is local and calling it
|
||||
// doesn't go through PLT, we use scratch register %r11 as
|
||||
// PIC register and initialize it here.
|
||||
SET_REGNO (pic_offset_table_rtx, R11_REG);
|
||||
pic_offset_table_rtx = gen_rtx_REG (Pmode, R11_REG);
|
||||
ix86_init_large_pic_reg (tmp_regno);
|
||||
fnaddr = legitimize_pic_address (fnaddr,
|
||||
gen_rtx_REG (Pmode, tmp_regno));
|
||||
|
Loading…
x
Reference in New Issue
Block a user