From patchwork Mon Dec 10 17:23:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 204992 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 DD0F62C04F9 for ; Tue, 11 Dec 2012 04:24:03 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1355765045; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:Date:To:Subject:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-ID:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=OMOCpLEt7HBKkKygR5bUujXBD9c=; b=x8m1hL4jarfGH/qm9KI7Be7Eh9u+hQ6mcjZpqYBfSTys1aLIK8NqYCiCsXI0PN jmSutCMdqvrUwDM6CnUlHaq7OaXB0Dc5V3xV5/GttHRT5GpP0LzhIT4eKhvgNIvM GI7n7u06EQYp4T4NlT6rRiPD98WQopkKUVuzDYZWZHI20= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-M-MSG:Received:Received:Received:From:Date:To:Subject:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:X-EMS-Proccessed:X-EMS-STAMP:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=t8zbXM4/IRJ8m8aLDm9C8oIN8xEpz9MEyjZbvoAC1fjkas0O53yZIOqinGaToz /rvogsBhNnySgvlnTsWk/Xbe01beHrEhmXAPtlO3mhNWC6oCFBW1CTp45cg6hdW/ WiLErz0joiUS9BEVASWm+I067nmshWbvrPXoTH5XLQwfM=; Received: (qmail 26734 invoked by alias); 10 Dec 2012 17:23:54 -0000 Received: (qmail 26701 invoked by uid 22791); 10 Dec 2012 17:23:50 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from dns1.mips.com (HELO dns1.mips.com) (12.201.5.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Dec 2012 17:23:45 +0000 Received: from mailgate1.mips.com (mailgate1.mips.com [12.201.5.111]) by dns1.mips.com (8.13.8/8.13.8) with ESMTP id qBAHNipf020832 for ; Mon, 10 Dec 2012 09:23:44 -0800 X-M-MSG: Received: from exchdb01.mips.com (unknown [192.168.36.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailgate1.mips.com (Postfix) with ESMTP id 285B536464F for ; Mon, 10 Dec 2012 09:23:39 -0800 (PST) Received: from ubuntu-sellcey.mips.com (192.168.65.53) by exchhub01.mips.com (192.168.36.84) with Microsoft SMTP Server id 14.1.270.1; Mon, 10 Dec 2012 09:23:34 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Mon, 10 Dec 2012 09:23:34 -0800 From: "Steve Ellcey " Date: Mon, 10 Dec 2012 09:23:34 -0800 To: Subject: [patch, mips] Fix -mno-shared option (gcc.target/mips/pr35802.c) User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-ID: X-EMS-Proccessed: 6LP3oGfGVdcdb8o1aBnt6w== X-EMS-STAMP: p3+DivpPY/2kPir8Y06hOw== 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 test gcc.target/mips/pr35802.c is failing with the message: xgcc: error: unrecognized command line option '-mdsp-mno-shared' Obviously the -mdsp and -mno-shared flags got stuck together without a space between them. This patch fixes the failure. Ok to checkin? It was tested with no regressions. 2012-12-10 Steve Ellcey * config/mips/gnu-user.h (NO_SHARED_SPECS): Add space before option. diff --git a/gcc/config/mips/gnu-user.h b/gcc/config/mips/gnu-user.h index d35ddac..55ca662 100644 --- a/gcc/config/mips/gnu-user.h +++ b/gcc/config/mips/gnu-user.h @@ -97,7 +97,7 @@ along with GCC; see the file COPYING3. If not see #ifdef HAVE_AS_NO_SHARED /* Default to -mno-shared for non-PIC. */ # define NO_SHARED_SPECS \ - "%{mshared|mno-shared|fpic|fPIC|fpie|fPIE:;:-mno-shared}" + "%{mshared|mno-shared|fpic|fPIC|fpie|fPIE:;: -mno-shared}" #else # define NO_SHARED_SPECS "" #endif