This patch cleans up the -mpc-relative-loads option processing.
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 20 Jun 2016 16:20:31 +0000 (16:20 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 20 Jun 2016 16:20:31 +0000 (16:20 +0000)
commit9ee6540a77ee11d1aa70d86e08642406fb150fe0
tree345f8652eb99456343363b7f15ad9ef03dd28825
parentd9e8bdfd905b5db38c452eff6f441cb59c26fef7
This patch cleans up the -mpc-relative-loads option processing.

This patch cleans up the -mpc-relative-loads option processing.  Rename to avoid
the confusing nopcrelative_literal_loads names.  Fix the option processing code
to correctly support -mno-pc-relative-loads rather than ignore it.

    gcc/
* config/aarch64/aarch64.opt
(mpc-relative-literal-loads): Rename internal option name.
* config/aarch64/aarch64.c
(aarch64_nopcrelative_literal_loads): Rename to
aarch64_pcrelative_literal_loads.
(aarch64_expand_mov_immediate): Likewise.
(aarch64_secondary_reload): Likewise.
(aarch64_can_use_per_function_literal_pools_p): Likewise.
(aarch64_override_options_after_change_1): Rename and simplify logic.
(aarch64_classify_symbol): Merge large model checks into switch,
remove pc-relative load check.

From-SVN: r237607
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.opt