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
This commit is contained in:
parent
83ffecd201
commit
a04232e5ff
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
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
|
||||
are shared.
|
||||
|
||||
|
|
|
@ -2261,6 +2261,7 @@ struct machine_function
|
|||
int save_toc_p;
|
||||
int fpmem_size;
|
||||
int fpmem_offset;
|
||||
rtx pic_offset_table_rtx;
|
||||
};
|
||||
|
||||
/* Functions to save and restore rs6000_fpmem_size.
|
||||
|
@ -2278,6 +2279,7 @@ rs6000_save_machine_status (p)
|
|||
machine->sysv_varargs_p = rs6000_sysv_varargs_p;
|
||||
machine->fpmem_size = rs6000_fpmem_size;
|
||||
machine->fpmem_offset = rs6000_fpmem_offset;
|
||||
machine->pic_offset_table_rtx = pic_offset_table_rtx;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2289,6 +2291,7 @@ rs6000_restore_machine_status (p)
|
|||
rs6000_sysv_varargs_p = machine->sysv_varargs_p;
|
||||
rs6000_fpmem_size = machine->fpmem_size;
|
||||
rs6000_fpmem_offset = machine->fpmem_offset;
|
||||
pic_offset_table_rtx = machine->pic_offset_table_rtx;
|
||||
|
||||
free (machine);
|
||||
p->machine = (struct machine_function *)0;
|
||||
|
|
Loading…
Add table
Reference in a new issue