From patchwork Fri Jul 13 16:10:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 141916 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp987356ljj; Fri, 13 Jul 2018 09:12:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfkFcGNOfQOPzO2qboxYOPajMKzOLFnL8qypfzQ4Ocl7yVjinyJjxNTIJnQY2FktuoJYKQ9 X-Received: by 2002:a63:f002:: with SMTP id k2-v6mr6587117pgh.8.1531498359507; Fri, 13 Jul 2018 09:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531498359; cv=none; d=google.com; s=arc-20160816; b=IorfOnhFF94CixwgVx9Lv+9KTT710OTBtjnu1mWaY1XtS0YlJ5S0Z75Bkmq/EBITaG QVExzXKoYskpHOLpJnu0pl+21DL0aF75/KsCSG3nhrbvvatYW3NQJXAVVCkK4qSRySTk ROHO9IWNwEGG/kHa6H56011BlZnscj48c86UpJse629I9qf1k865MnjMAVasoXUb2SX4 EGbYAyIoIldtZ4GuWtuDb67wf4NXCMxVXCATtkuB1lumUug6HMbcCRVnBm1TYNNU1gR8 UVBy+8LISz42FMzTLZAYXMavxJtszJ366+Yoqmzx+mAqjMYEtqmT7/jsBzCvKdJwbtzs pmhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=GFgWecYY0AIGsDYHTfxtpDJwcEz2kwjZaCYNen3pIMg=; b=Z+fYKyDVwug1Ux6au9IiscoWY8GAypv+IWuDrIhhSBRGSJe25mieuDJDqj0dZcv+QK ilNaP5b5NGOjXKRfTTEjpSlerMGp7EKnid3/rj4Ivpv4JtwB+0ZDbTy13aA3k8igo1pd NkuNcTHB0DIiZxNSKNV42Mae9Vj65dp6jejfw0IK2VUvjLrlJ33+3L9yrQTNzD76myrn kKds6eSG0QLXySa/zUA58CabRy8mtaXVhP7gHX0jPRZ68vkDBEYVjHwIW70zt6X38j1t 8yr+o8EHZszWQps7Hg8+O/t7IaWQlcqfuGQrqpR+wZMlacImG6tqRbNSXVhGlqSST/hj tFCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yHY01tJN; spf=pass (google.com: domain of gcc-patches-return-481511-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-481511-patch=linaro.org@gcc.gnu.org" Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 25-v6si22077693pfp.108.2018.07.13.09.12.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 09:12:39 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-481511-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yHY01tJN; spf=pass (google.com: domain of gcc-patches-return-481511-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-481511-patch=linaro.org@gcc.gnu.org" DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=nxERQfwr/+Y5QbNIBAVgZg3eNR7ptpEARyghtMHuiq8dyHrkPPlQj XhPCksiXY847TnfRTWb5YMB3UMhn6gQt+aDM0TyY3tyv+zVwaI+4hB3/VOKLmRk1 QkcRVcepoNydmbmOkzRN2mISxGRP9roCSRX9e5X1+ErNjABy+Wqr2w= 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:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=default; bh=pvG9kK3KVWJU71Mt533c6QQ3OPc=; b=yHY01tJNWn8fxxPD58znFPWGk3SV RAC6KidoKcCeBjX6Exqr+4xcCrL5S+QWI5CRc6lsEpqLjZVDAH05RI9L8WrCZJgY v3dvDWGYSypBvkefy7+kl/2TSNj+AZaPOBpbRuZLRdnfjQV78a9azG3wnUgHCYPY FVTKtC0agDrHqjY= Received: (qmail 13836 invoked by alias); 13 Jul 2018 16:12:24 -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 13726 invoked by uid 89); 13 Jul 2018 16:12:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=gun, HContent-Transfer-Encoding:8bit X-HELO: mx07-00178001.pphosted.com Received: from mx08-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (91.207.212.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jul 2018 16:12:22 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w6DG48eh021422; Fri, 13 Jul 2018 18:12:19 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2k6tcs1agg-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 13 Jul 2018 18:12:19 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5E70231; Fri, 13 Jul 2018 16:12:19 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4D47EA699; Fri, 13 Jul 2018 16:12:19 +0000 (GMT) Received: from gnb.st.com (10.75.127.48) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 13 Jul 2018 18:12:18 +0200 From: To: CC: Subject: [ARM/FDPIC v2 01/21] [ARM] FDPIC: Add -mfdpic option support Date: Fri, 13 Jul 2018 18:10:56 +0200 Message-ID: <20180713161136.29104-2-christophe.lyon@st.com> In-Reply-To: <20180713161136.29104-1-christophe.lyon@st.com> References: <20180713161136.29104-1-christophe.lyon@st.com> MIME-Version: 1.0 X-IsSubscribed: yes From: Christophe Lyon 2018-XX-XX Christophe Lyon Mickaël Guêné gcc/ * config/arm/arm.opt: Add -mfdpic option. Change-Id: Ie5c4ed7434488933de6133186da09cd3ea1291a7 -- 2.6.3 diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt index a1286a4..231c1cb 100644 --- a/gcc/config/arm/arm.opt +++ b/gcc/config/arm/arm.opt @@ -302,3 +302,7 @@ When linking for big-endian targets, generate a legacy BE32 format image. mbranch-cost= Target RejectNegative Joined UInteger Var(arm_branch_cost) Init(-1) Cost to assume for a branch insn. + +mfdpic +Target Report Mask(FDPIC) +Enable Function Descriptor PIC mode.