From patchwork Thu Feb 3 23:57:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add AIX options from specs to aix64.opt Date: Thu, 03 Feb 2011 13:57:15 -0000 From: "Joseph S. Myers" X-Patchwork-Id: 81754 Message-Id: To: gcc-patches@gcc.gnu.org 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 * 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 . ; ; 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