From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97056 invoked by alias); 8 May 2015 17:37:47 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 97045 invoked by uid 89); 8 May 2015 17:37:46 -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:37:46 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 08 May 2015 10:37:44 -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:37:43 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 1000) id E942B200694; Fri, 8 May 2015 10:37:43 -0700 (PDT) Date: Fri, 08 May 2015 17:37:00 -0000 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH 5/5] Use FPIE_OR_FPIC_SPEC in ASM_SPEC Message-ID: <20150508173743.GD21810@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-05/txt/msg00711.txt.bz2 OK for trunk? H.J. * config/sparc/linux.h (ASM_SPEC): Use FPIE_OR_FPIC_SPEC. * config/sparc/linux64.h (ASM_SPEC): Likewise. --- gcc/config/sparc/linux.h | 2 +- gcc/config/sparc/linux64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 56def4b..17e1e86 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -98,7 +98,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); #undef ASM_SPEC #define ASM_SPEC "\ -s \ -%{fpic|fPIC|fpie|fPIE:-K PIC} \ +%{" FPIE_OR_FPIC_SPEC ":-K PIC} \ %{!.c:%{findirect-dispatch:-K PIC}} \ %(asm_cpu) %(asm_relax)" diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index fa805fd..43da848 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -208,7 +208,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); #undef ASM_SPEC #define ASM_SPEC "\ -s \ -%{fpic|fPIC|fpie|fPIE:-K PIC} \ +%{" FPIE_OR_FPIC_SPEC ":-K PIC} \ %{!.c:%{findirect-dispatch:-K PIC}} \ %(asm_cpu) %(asm_arch) %(asm_relax)" -- 1.9.3