* config/spu/spu.c (struct machine_function): New data structure.
commit5eb28709f596acd06437ce8c859f3987b3d9c78c
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2011 15:48:49 +0000 (18 15:48 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2011 15:48:49 +0000 (18 15:48 +0000)
tree90df04d185814eb9b62235044b923a6558275b2e
parenta257850007b8444126c4f4f92a10081e5d1b17ab
* config/spu/spu.c (struct machine_function): New data structure.
(spu_init_machine_status): New function.
(spu_option_override): Install it.
(get_pic_reg): Set and use cfun->machine->pic_reg.
(spu_split_immediate): Do not set crtl->uses_pic_offset_table.
(need_to_save_reg): Use cfun->machine->pic_reg instead of
checking crtl->uses_pic_offset_table.
(spu_expand_prologue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180156 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/spu/spu.c