From patchwork Fri May 8 17:37:24 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: 470146 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 6D13814012C for ; Sat, 9 May 2015 03:37:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Ws8GiArK; 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=KNsqCpuamgRi4AEytpl+DNOlKJJoOb6KQCVZT5Rm05m nmxrT2t77HKUFreOgJdkorLIO04aRCEhk0+W/JxZ3G/aTQhovSNzomH4ePxh6eFP rTNUF5BDoCBLc26jsl8PP3xpVyN1tpS5Ow4TlsjWly82RLxvg9p5b719SESlmV6o = 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=h27XTa3KCSCX3qzzkN71MtAMQRE=; b=Ws8GiArKZffU17jXc A6Tqvpin9/eudtm8q6g1XrB3yha+Ffz9w4OOvbtprUmE7Jzvcy/dUFnw1Us3E/1b vdsDajiYK/yc/U4okM4ZCGMa6O4gmAZqHx6imQGPM8mwMQbrP6Gk8Xd7pq5hPHVY BD1lLeWb+meyGcfyQDYfeDEqxc= Received: (qmail 95654 invoked by alias); 8 May 2015 17:37:28 -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 95645 invoked by uid 89); 8 May 2015 17:37:28 -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: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 May 2015 17:37:27 +0000 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 08 May 2015 10:37:27 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([172.25.70.52]) by orsmga003.jf.intel.com with ESMTP; 08 May 2015 10:37:25 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 1000) id E6CF5200694; Fri, 8 May 2015 10:37:24 -0700 (PDT) Date: Fri, 8 May 2015 10:37:24 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH 4/5] Use FPIE_OR_FPIC_SPEC in ASM_SPEC Message-ID: <20150508173724.GC21810@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? H.J. * config/rs6000/sysv4.h (ASM_SPEC): Use FPIE_OR_FPIC_SPEC. --- gcc/config/rs6000/sysv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 9917c2f..1041648 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -530,7 +530,7 @@ extern int fixuplabelno; #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu) \ %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ -%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \ +%{mrelocatable} %{mrelocatable-lib} %{" FPIE_OR_FPIC_SPEC ":-K PIC} \ %{memb|msdata=eabi: -memb}" \ ENDIAN_SELECT(" -mbig", " -mlittle", DEFAULT_ASM_ENDIAN)