From patchwork Fri May 8 17:36:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 470142 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5447314012C for ; Sat, 9 May 2015 03:36:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ednejfYE; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=Ar5BbTdNODkZoszpm9U4BJ6jGpq7MSuH2bu06NWh3YQ s1nNlbX9rn2S8pUJSzsvZ0DYaLaZolNGiedvS5ZyoHpeNmS+I+g/SZlInXkbZbhV drnyLRE8/JHqrTOZ5lkSnD9UQo1/w/XUVvEELW0PKj9ms3E3S1rWWnYwK2k2LgV0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=ToUbtx9XqmYEjBEVQUEBydpGxYY=; b=ednejfYE4xggreCSC R8nX2uf8dtDXOkKyIk9oo6ARUakLOel8xBqPiUfRuvjrxlmuUMGd7Vfs7x/PravN WVCgV9oFjLLVUZG3sd2IMm0opnwZvNRIUu7Z31x7vK6QG0XQFXd/L5BilkWaWH+J 0qEaOLIouoc4WWTAMJuc6kaBzY= Received: (qmail 92824 invoked by alias); 8 May 2015 17:36:40 -0000 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 Received: (qmail 92815 invoked by uid 89); 8 May 2015 17:36:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mga11.intel.com Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 May 2015 17:36:39 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 08 May 2015 10:36:37 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([172.25.70.52]) by fmsmga001.fm.intel.com with ESMTP; 08 May 2015 10:36:37 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 1000) id 5CE7C200694; Fri, 8 May 2015 10:36:37 -0700 (PDT) Date: Fri, 8 May 2015 10:36:37 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH 2/5] Use NO_FPIE_AND_FPIC_SPEC in NO_SHARED_SPECS Message-ID: <20150508173637.GA21810@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) OK for trunk? * config/mips/gnu-user.h (NO_SHARED_SPECS): Use NO_FPIE_AND_FPIC_SPEC. --- gcc/config/mips/gnu-user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/mips/gnu-user.h b/gcc/config/mips/gnu-user.h index 28b00ed..dd4cf11 100644 --- a/gcc/config/mips/gnu-user.h +++ b/gcc/config/mips/gnu-user.h @@ -100,7 +100,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:;:%{" NO_FPIE_AND_FPIC_SPEC ":-mno-shared}}" #else # define NO_SHARED_SPECS "" #endif