rs6000: Correct logic to disable NO_SUM_IN_TOC and NO_FP_IN_TOC [PR94065]
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 6 Mar 2020 01:41:08 +0000 (20:41 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 6 Mar 2020 16:19:55 +0000 (11:19 -0500)
commit3dcf51ad7b0a9cacba1a056755c16cc1cf7984ee
tree348aacbc900561cf638f814b4f8b4a451b85a426
parente6ce69cae5059dfd715edd4e26653c23baf4cb0f
rs6000: Correct logic to disable NO_SUM_IN_TOC and NO_FP_IN_TOC [PR94065]

aix61.h, aix71.h and aix72.h intends to prevent SUM_IN_TOC and FP_IN_TOC
when cmodel=large.  This patch defines the variables associated with the
target options to 1 to _enable_ NO_SUM_IN_TOC and enable NO_FP_IN_TOC.

Bootstrapped on powerpc-ibm-aix7.2.0.0

2020-03-06  David Edelsohn  <dje.gcc@gmail.com>
PR target/94065
* config/rs6000/aix61.h (TARGET_NO_SUM_IN_TOC): Set to 1 for
cmodel=large.
(TARGET_NO_FP_IN_TOC): Same.
* config/rs6000/aix71.h: Same.
* config/rs6000/aix72.h: Same.
gcc/ChangeLog
gcc/config/rs6000/aix61.h
gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h