Update pc-relative support.
authorMichael Meissner <meissner@linux.ibm.com>
Fri, 28 Jun 2019 20:19:54 +0000 (20:19 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 28 Jun 2019 20:19:54 +0000 (20:19 +0000)
commit183ba378ca42bb88ca8e30bdfac2a5efd3d1ad20
treef9d0fef29410e8d3af1a0505c17d78956ae309d4
parentafbde658c8cff7ac10b015e3c4ce478a6a77b24b
Update pc-relative support.

2019-06-28  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/predicates.md (pcrel_address):  Use
SYMBOL_REF_LOCAL_P to determine if a label is local.
(pcrel_external_address): New predicate.
(non_prefixed_mem_operand): Delete, predicate not used.
* config/rs6000/rs6000.h (SYMBOL_FLAG_PCREL_P): Delete, we now use
SYMBOL_REF_LOCAL_P to determine if we can use pc-relative
addressing.
(SYMBOL_REF_PCREL_P): Likewise.

From-SVN: r272792
gcc/ChangeLog
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.h