From patchwork Fri Dec 31 15:49:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 77088 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 B2C75B70B3 for ; Sat, 1 Jan 2011 02:49:13 +1100 (EST) Received: (qmail 4115 invoked by alias); 31 Dec 2010 15:49:12 -0000 Received: (qmail 4105 invoked by uid 22791); 31 Dec 2010 15:49:11 -0000 X-SWARE-Spam-Status: No, hits=-1.7 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; Fri, 31 Dec 2010 15:49:07 +0000 Received: (qmail 15004 invoked from network); 31 Dec 2010 15:49:05 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 31 Dec 2010 15:49:05 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PYhE0-0004Fc-Au; Fri, 31 Dec 2010 15:49:04 +0000 Date: Fri, 31 Dec 2010 15:49:04 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: ro@CeBiTec.Uni-Bielefeld.DE Subject: Add Solaris options from specs to sol2.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 Solaris options matched by specs in sol2.h to sol2.opt. Tested building cc1 and xgcc for crosses to: i686-solaris2.10 sparc-solaris2.10. OK to commit? 2010-12-31 Joseph Myers * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, rdynamic, threads): New Driver options. Index: gcc/config/sol2.opt =================================================================== --- gcc/config/sol2.opt (revision 168378) +++ gcc/config/sol2.opt (working copy) @@ -18,6 +18,30 @@ ; along with GCC; see the file COPYING3. If not see ; . +G +Driver + +YP, +Driver Joined + +Ym, +Driver Joined + +compat-bsd +Driver + mimpure-text Target Report Pass -z text to linker + +pthread +Driver + +pthreads +Driver + +rdynamic +Driver + +threads +Driver