This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add AIX options from specs to aix64.opt
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Feb 2011 23:57:15 +0000 (UTC)
- Subject: Add AIX options from specs to aix64.opt
In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds options from specs in various AIX headers to
rs6000/aix64.opt. The -posix option is matched by specs in both aix.h
and the version-specific headers, while all the version-specific
headers have specs matching -pthread.
Note that aix64.opt is the correct header for this; though there is a
file aix.opt, it appears no target actually uses aix.opt and it was
only ever used for a period of less than two days in 2005.
Tested building cc1 and xgcc for cross to powerpc-ibm-aix6.1. OK to
commit?
2011-02-03 Joseph Myers <joseph@codesourcery.com>
* config/rs6000/aix64.opt (posix, pthread): New Driver options.
Index: gcc/config/rs6000/aix64.opt
===================================================================
--- gcc/config/rs6000/aix64.opt (revision 169769)
+++ gcc/config/rs6000/aix64.opt (working copy)
@@ -1,6 +1,6 @@
; Options for the 64-bit flavor of AIX.
;
-; Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2010, 2011 Free Software Foundation, Inc.
; Contributed by Aldy Hernandez <aldy@quesejoda.com>.
;
; This file is part of GCC.
@@ -30,3 +30,9 @@ Compile for 32-bit pointers
mpe
Target Report RejectNegative Var(internal_nothing_1) Save
Support message passing with the Parallel Environment
+
+posix
+Driver
+
+pthread
+Driver
--
Joseph S. Myers
joseph@codesourcery.com