From patchwork Fri May 25 08:03:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 136803 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3286840lji; Fri, 25 May 2018 01:28:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZofl5w+GPb0/awvmRP9fLs9KckMnAJKnIEisXw0zAdZgF/Gs5KOg7+VbeCcgKw4v1T52/q0 X-Received: by 2002:a62:9515:: with SMTP id p21-v6mr1590195pfd.62.1527236925503; Fri, 25 May 2018 01:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527236925; cv=none; d=google.com; s=arc-20160816; b=MJKVC3pxyBQJu+EoOHra1W5i4op5CYpUKIq323oveOSrDbMsldyQMoT7085CFug3l0 5Sb91K2ZdaDZfSQHv7hhy0t48jcSTE2/gaoEJNALO+rTDv6T11ON39zOMLZwz/RTYKyG 9GqibEOp3pwMmF0q92/cZtCiXpGjzrHCsfHDoKSl+8rCeSqXRLRftAj08fQD7BIcWqqj dq7hAA7xO8dhkv0cOG1Wg3zVbnr5ixxeN2NQqXUaijZh4SaK4+U779CSFQoZn8rmfHcv mmE/xSHuHdVLOicxoJUZ7p2TLvLmfIsivEFz39CCEvGar8cMz0CPVoen1UsMJPjjIkMU DpLQ== 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: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=zNJs1m7/SRHzePdoovHLLPBZQVfOZbfPuomA0JhgvUE=; b=AELDLULhJjnHP21VqCwOybWo4b4/Ik1Zd/7y/GPTXtEq6q+54/95h6HkZ0Z6m89W1F /S87aZYyiQb2rmpwUiBnCPG10BsPty7S5C7cQ+4LMQj1XGyROn7pJ6RXsnYL5FbNOajk Dc+6YfhwBRRfc4rVYeXO32gKE8yQ34OoYwNB+moFYRRMxKt8TGLUHnqZIeqKiUsucknv xTmeYaadYa4kWvx0cLdqRbQsR32PxHsAjJr9OiHBpIb6jtS1hFqAfp0b/blsOC5/uhKa p3pQ+MZyiJeEJrMZH/xCG/BZxICSHyo/ZPOtBNvoYQBds9sa8U6YK6YmuQsp8yhXQ4Ja sN7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=w0of85yb; spf=pass (google.com: domain of gcc-patches-return-478470-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-478470-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 b1-v6si22907186plc.403.2018.05.25.01.28.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 01:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-478470-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=w0of85yb; spf=pass (google.com: domain of gcc-patches-return-478470-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-478470-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:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=cfD t7bGOKR3Qm1UKukzSS6IcRsFIvcQkr4LbvRKsvNkDzWSpYmagOjRYrAdQyAZpplD Xjzxy1OD3ZpwRmRfDaAh8slFnvWY8aEY800O64HMwGDw/iQD4i5l2hCPVRv3svLs Q0q2ZOb+Lt0ORFBt8sQQuYZ00RAZ3Ki+rhYWxldA= 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:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=default; bh=WybLN5Cas 1/c0QX8MYUvTkfd39k=; b=w0of85ybPNzZJTgR02b00ROM3Zh2pMVzTVZI3ytxD 2mMkZ1W+uObXFv93IDHE9K8iuLOI4Ja2puHbCLfHBA1Kh4ToWVt38bW2h5cZsptU y17dSVpg1OG4hUqS3KwGc/iN8pgOq8a1EhpqeIxe1m4Knuq7pjlZf2WMEcAklfM2 cw= Received: (qmail 44798 invoked by alias); 25 May 2018 08:08:26 -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 42564 invoked by uid 89); 25 May 2018 08:04:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No 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, 25 May 2018 08:04:32 +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 w4P7xOwR010123; Fri, 25 May 2018 10:04:29 +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 2j59j8k5sp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2018 10:04:29 +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 6192834; Fri, 25 May 2018 08:04:29 +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 501FA15AB; Fri, 25 May 2018 08:04:29 +0000 (GMT) Received: from gnb.st.com (10.75.127.51) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 25 May 2018 10:04:28 +0200 From: Christophe Lyon To: , Subject: [ARM/FDPIC 01/21] [ARM] FDPIC: Add -mfdpic option support Date: Fri, 25 May 2018 10:03:14 +0200 Message-ID: <20180525080354.13295-2-christophe.lyon@st.com> In-Reply-To: <20180525080354.13295-1-christophe.lyon@st.com> References: <20180525080354.13295-1-christophe.lyon@st.com> MIME-Version: 1.0 X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG5NODE1.st.com (10.75.127.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-25_03:, , signatures=0 X-IsSubscribed: yes 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.