diff mbox

Add AIX options from specs to aix64.opt

Message ID Pine.LNX.4.64.1102032356280.18971@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Feb. 3, 2011, 11:57 p.m. UTC
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.

Comments

Joseph Myers Feb. 8, 2011, 8:38 p.m. UTC | #1
I have committed this patch.  I have not done anything about the unused 
aix.opt.
diff mbox

Patch

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