Commit a04232e5 by Jeffrey A Law Committed by Jeff Law

rs6000.c (struct machine_function): Add pic_offset_table_rtx.

        * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
        (rs6000_save_machine_status): Save pic_offset_table_rtx.
        (rs6000_restore_machine_status: Restore pic_offset_table_rtx.

From-SVN: r16149
parent 83ffecd2
Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com) Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
* rs6000.c (struct machine_function): Add pic_offset_table_rtx.
(rs6000_save_machine_status): Save pic_offset_table_rtx.
(rs6000_restore_machine_status: Restore pic_offset_table_rtx.
* local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
are shared. are shared.
......
...@@ -2261,6 +2261,7 @@ struct machine_function ...@@ -2261,6 +2261,7 @@ struct machine_function
int save_toc_p; int save_toc_p;
int fpmem_size; int fpmem_size;
int fpmem_offset; int fpmem_offset;
rtx pic_offset_table_rtx;
}; };
/* Functions to save and restore rs6000_fpmem_size. /* Functions to save and restore rs6000_fpmem_size.
...@@ -2278,6 +2279,7 @@ rs6000_save_machine_status (p) ...@@ -2278,6 +2279,7 @@ rs6000_save_machine_status (p)
machine->sysv_varargs_p = rs6000_sysv_varargs_p; machine->sysv_varargs_p = rs6000_sysv_varargs_p;
machine->fpmem_size = rs6000_fpmem_size; machine->fpmem_size = rs6000_fpmem_size;
machine->fpmem_offset = rs6000_fpmem_offset; machine->fpmem_offset = rs6000_fpmem_offset;
machine->pic_offset_table_rtx = pic_offset_table_rtx;
} }
void void
...@@ -2289,6 +2291,7 @@ rs6000_restore_machine_status (p) ...@@ -2289,6 +2291,7 @@ rs6000_restore_machine_status (p)
rs6000_sysv_varargs_p = machine->sysv_varargs_p; rs6000_sysv_varargs_p = machine->sysv_varargs_p;
rs6000_fpmem_size = machine->fpmem_size; rs6000_fpmem_size = machine->fpmem_size;
rs6000_fpmem_offset = machine->fpmem_offset; rs6000_fpmem_offset = machine->fpmem_offset;
pic_offset_table_rtx = machine->pic_offset_table_rtx;
free (machine); free (machine);
p->machine = (struct machine_function *)0; p->machine = (struct machine_function *)0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment