rs6000.c (toc_relative_expr_p): Make tocrel_base and tocrel_offset be pointer args...
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>
Thu, 29 Jun 2017 20:10:05 +0000 (20:10 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Thu, 29 Jun 2017 20:10:05 +0000 (15:10 -0500)
commitf990f3a3b68334b54faea6de0f4edfbd8f23b8f0
tree32a513d4404bedb2078707af45b7048e5e128d61
parent5497bd2bb6410e58eff6f57e53700dec646b1315
rs6000.c (toc_relative_expr_p): Make tocrel_base and tocrel_offset be pointer args rather than implicitly using...

2017-06-29  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

        * config/rs6000/rs6000.c (toc_relative_expr_p): Make tocrel_base
        and tocrel_offset be pointer args rather than implicitly using
        static versions.
        (legitimate_constant_pool_address_p, rs6000_emit_move,
        const_load_sequence_p, adjust_vperm): Add local tocrel_base and
        tocrel_offset and use in toc_relative_expr_p call.
        (print_operand, print_operand_address): Use static tocrel_base_oac
        and tocrel_offset_oac.
        (rs6000_output_addr_const_extra): Use static tocrel_base_oac and
        tocrel_offset_oac.

From-SVN: r249815
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c