From patchwork Sun Sep 26 14:02:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Howarth X-Patchwork-Id: 65783 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 40811B70E6 for ; Mon, 27 Sep 2010 00:02:39 +1000 (EST) Received: (qmail 24011 invoked by alias); 26 Sep 2010 14:02:36 -0000 Received: (qmail 23997 invoked by uid 22791); 26 Sep 2010 14:02:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 26 Sep 2010 14:02:30 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 9B820400007; Sun, 26 Sep 2010 10:02:28 -0400 (EDT) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id o8QE2Sr5015903; Sun, 26 Sep 2010 10:02:28 -0400 Date: Sun, 26 Sep 2010 10:02:28 -0400 From: Jack Howarth To: gcc-patches@gcc.gnu.org Cc: joseph@codesourcery.com, mikestump@comcast.net Subject: [PATCH] Fix PR 36502/plugins Message-ID: <20100926140227.GA15901@bromo.med.uc.edu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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 The following patch restores plugin support for darwin which was broken by the changes replacing translate_options with the .opt option alias facility and handling variants in r164531. Bootstrap and regression tested on x86_64-apple-darwin10. Okay for gcc trunk? Jack 2010-09-25 Joseph Myers Jack Howarth PR 36502/plugins * gcc/config/darwin.opt: Add "undefined Driver Separate" Index: gcc/config/darwin.opt =================================================================== --- gcc/config/darwin.opt (revision 164620) +++ gcc/config/darwin.opt (working copy) @@ -45,3 +45,6 @@ iframework Target RejectNegative C ObjC C++ ObjC++ Joined Separate -iframework Add to the end of the system framework include path + +undefined +Driver Separate