spu.c (struct machine_function): New data structure.
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 18 Oct 2011 15:48:49 +0000 (15:48 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 18 Oct 2011 15:48:49 +0000 (15:48 +0000)
commitc5d942188b70dc182150ae9fb57d502cbf0e9e75
tree90df04d185814eb9b62235044b923a6558275b2e
parentd8381c04c3975a53a2fb3d32d4b39812bcdc215a
spu.c (struct machine_function): New data structure.

* 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.

From-SVN: r180156
gcc/ChangeLog
gcc/config/spu/spu.c