aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix64.opt
diff options
context:
space:
mode:
authorDavid Edelsohn <dje@gcc.gnu.org>2012-11-14 11:41:21 -0500
committerDavid Edelsohn <dje@gcc.gnu.org>2012-11-14 11:41:21 -0500
commit9e81cc8bdec038bfed40030f487580437d2d6f66 (patch)
treec71692baa6ca664efa39787ea6398cc4fcbb3ed8 /gcc/config/rs6000/aix64.opt
parent4a3d0b10a2b64ff78a6448240afe89c2b8d68076 (diff)
downloadgcc-9e81cc8bdec038bfed40030f487580437d2d6f66.zip
gcc-9e81cc8bdec038bfed40030f487580437d2d6f66.tar.gz
gcc-9e81cc8bdec038bfed40030f487580437d2d6f66.tar.bz2
configure.ac (HAVE_LD_LARGE_TOC): Add AIX test.
* configure.ac (HAVE_LD_LARGE_TOC): Add AIX test. * configure: Regenerated. * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Warn if other toc options used with cmodel. Disable TARGET_NO_FP_IN_TOC and TARGET_NO_SUM_IN_TOC if not CMODEL_SMALL. CMODEL_MEDIUM means CMODEL_LARGE on AIX. (ASM_SPEC): -mvsx implies -mpwr6. Add -many. (ASM_DEFAULT_SPEC): Use -mpwr4. (TARGET_CMODEL): Define. (SET_CMODEL): Define. * config/rs6000/rs6000.md (largetoc_high_aix<mode>): New. (largetoc_high_plus_aix<mode>): New. (largetoc_low<mode>): Change to mode iterator. Test TARGET_TOC instead of TARGET_ELF. (tocref): Remove TARGET_ELF test. * config/rs6000/rs6000.c (output_toc): Use [TE] for large TOC symbols on AIX. * config/rs6000/aix64.opt (mcmodel): New. From-SVN: r193502
Diffstat (limited to 'gcc/config/rs6000/aix64.opt')
-rw-r--r--gcc/config/rs6000/aix64.opt17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix64.opt b/gcc/config/rs6000/aix64.opt
index 2dabd80..8acc05b 100644
--- a/gcc/config/rs6000/aix64.opt
+++ b/gcc/config/rs6000/aix64.opt
@@ -27,6 +27,23 @@ maix32
Target Report RejectNegative Negative(maix64) InverseMask(64BIT) Var(rs6000_isa_flags)
Compile for 32-bit pointers
+mcmodel=
+Target RejectNegative Joined Enum(rs6000_cmodel) Var(rs6000_current_cmodel)
+Select code model
+
+Enum
+Name(rs6000_cmodel) Type(enum rs6000_cmodel)
+Known code models (for use with the -mcmodel= option):
+
+EnumValue
+Enum(rs6000_cmodel) String(small) Value(CMODEL_SMALL)
+
+EnumValue
+Enum(rs6000_cmodel) String(medium) Value(CMODEL_MEDIUM)
+
+EnumValue
+Enum(rs6000_cmodel) String(large) Value(CMODEL_LARGE)
+
mpe
Target Report RejectNegative Var(internal_nothing_1) Save
Support message passing with the Parallel Environment