From patchwork Thu Feb 3 23:57:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 81754 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 635ACB70E7 for ; Fri, 4 Feb 2011 10:57:27 +1100 (EST) Received: (qmail 11460 invoked by alias); 3 Feb 2011 23:57:25 -0000 Received: (qmail 11452 invoked by uid 22791); 3 Feb 2011 23:57:24 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_XG, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Feb 2011 23:57:19 +0000 Received: (qmail 17040 invoked from network); 3 Feb 2011 23:57:18 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Feb 2011 23:57:18 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Pl935-0006DE-Ph for gcc-patches@gcc.gnu.org; Thu, 03 Feb 2011 23:57:15 +0000 Date: Thu, 3 Feb 2011 23:57:15 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: Add AIX options from specs to aix64.opt Message-ID: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list 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