From patchwork Tue Jun 27 12:19:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yvan Roux X-Patchwork-Id: 106418 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp2340367obb; Tue, 27 Jun 2017 05:19:38 -0700 (PDT) X-Received: by 10.84.130.98 with SMTP id 89mr5426542plc.222.1498565978737; Tue, 27 Jun 2017 05:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498565978; cv=none; d=google.com; s=arc-20160816; b=YTtJBv6oFz5JeE3nwgElP9pahFUY1bm7QDPNvIfYVIddeRSkd/Mar2AdFeu1dfyJU0 +TejqiLt2u6uQwwf8z7IWJqU27uaoOqGs/l6iIJpSTID4va5fLa/IC3suNz44nzjYvwj Hft4IrjdN7iSFTJ5tQxegTCGuOjpR1qaC2rhf1W6OnjMF+bEWOGodJjbpbUyhkIpjvkk lPBz3v5jZCEluYvzP/8v5YHFtXm0cp4FORMCmMhCbyotioZ+HMGXpZb/Y61JquClY/yr B+IqIfVl55/dBDTMvRpq9E6DhCHvkjiZMG1oTBVzie9uAZnEllwoFJSOCLE3Bl3MgzHl f6sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:delivered-to:sender :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=i2FFU4XY+mSTMLmtUE+EFZlOs7AEml1c5PFSNBC+YbI=; b=vHsEkmxo6BiZvz5AeQJr5lHoPSVo7c3N0/gD3GS3Pbj6ZOfXNCAmI0rYGNVhfz0RB8 zZLRm/qtA+A6AoN3a3lDOkoAIlCGa0i62apwIiJA6oR2a3JXnACqgmMt29TBezwngpRJ UBN3isC3ZVUBvxK/XEpZqqPgT28pzfq4gXGBGpccpdY2Ghtc2ovYrNAwHByUeuuaRGEi 6o8MiOLAkmH/kFjiTNZ96WPyIMw9ea0va3fDWwxA6ZV8YmpoO5ZQWDkbUj/Kuz2tsqVE fGqYdkASmK9feXZoYCQsizU88GaMeNv4ZFg4A8G2T7QAihEZQevalzwa5aA36pmfHqiF EX2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.b=GMs1hptV; spf=pass (google.com: domain of gcc-patches-return-456920-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-456920-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id v2si1876362pgq.12.2017.06.27.05.19.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 05:19:38 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-456920-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.b=GMs1hptV; spf=pass (google.com: domain of gcc-patches-return-456920-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-456920-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=HSc+fiYT/RHyNIq1qOB1tHKEsud1rPpTMPd6/chP24t pJ9DpTdI+swDiiEj7e8vz9bXJ3zLidxrut18uBmXv0XL9sbuCq7qFg9AMBql31l1 Hq7l8rENzDR+ERjGNq8vrzOdgRXLk4sbuJqAbbJe/26uJCM7LMRXKc9fgDk+WpsA = 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 :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=AGoJwmtPXbJnmFPDbRS18YZbVDA=; b=GMs1hptVABxUNx0r5 0D8CTpP/l/G5V9L5GeuFhtoO7DuVFg5vQsYCXKLqmZzna9+qmrPz5sZcyiPZWTKs sxBk5mxybFvn+WU/sfpXg4qJsHMxbtfVmHy+lB69V3JK5c56JJ4uw0OgO4WqGsuN m8bh4PR5qGDreWB8VQuL9EZRS8= Received: (qmail 29732 invoked by alias); 27 Jun 2017 12:19:20 -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 28949 invoked by uid 89); 27 Jun 2017 12:19:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*sandra X-HELO: mail-yb0-f169.google.com Received: from mail-yb0-f169.google.com (HELO mail-yb0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 12:19:16 +0000 Received: by mail-yb0-f169.google.com with SMTP id b81so8701308yba.2 for ; Tue, 27 Jun 2017 05:19:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=SbbVXmCklioxL1uK6kuG/aQgmYa65vRXY7mtWv1eIS4=; b=jEZ9/RuGl+HwGp0iE4bQOeywSI+b9tiFhoLa0Ax1n/eeMlsIn7O33Y73oKeWhyyuua N78x0Maz3QMoUZBaliuCGHJWEH4jz8wrM1ismHyOwxts8kF1FbJ2E+7XvrikjIkrpsZy DeG+Av15ZwUREE4NfihsLas89dOJUt4GMVCJLKuIX62HM1gOhw9Nlztuom8Lg66frwge jPk0VvAVAvLmeIYCFN4dazvTJpbSCvfq9/WyWFVO97xc00N3G1ak6c5mIeDc5O35xGtU QBbflRqU+ZMyxtLApBrpg283sBpMppxVadpOuzN1EspHSOAE3CYwKZQ83TSTL/LZVoo8 8Ofw== X-Gm-Message-State: AKS2vOwmg4boOtvGUyHtw9H+TEUzVVgK7qYuH8hLC7Kd8OWM0XvKlPBu 3OnR+9r7HRLIWINyxZsc8dg22Penh48n+nNfpg== X-Received: by 10.37.198.137 with SMTP id k131mr3797418ybf.27.1498565954707; Tue, 27 Jun 2017 05:19:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.53.8 with HTTP; Tue, 27 Jun 2017 05:19:13 -0700 (PDT) From: Yvan Roux Date: Tue, 27 Jun 2017 14:19:13 +0200 Message-ID: Subject: [Doc, AArch64] Fix/Update AArch64 options. To: "gcc-patches@gcc.gnu.org" Cc: Sandra Loosemore , James Greenhalgh , Richard Earnshaw X-IsSubscribed: yes Hi, I just noticed that some AArch64 options (-mpc-relative-literal-loads, -msign-return-address=scope and -moverride=string) are missing in the option summary part of the manual: https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html#Option-Summary and that the "-no" version of -mpc-relative-literal-loads is missing in AArch64 options page: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options This patch fixes these issues and remove a redundant "Save" property in mpc-relative-literal-loads description. Tested by re-generating the manual, Ok for trunk ? Thanks Yvan gcc/ChangeLog 2017-06-27 Yvan Roux * config/aarch64/aarch64.opt (mpc-relative-literal-loads): Remove redundant property. * doc/invoke.texi (AArch64): Add missing options. diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index 942a7d5..0fd1bfa 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -146,7 +146,7 @@ EnumValue Enum(aarch64_abi) String(lp64) Value(AARCH64_ABI_LP64) mpc-relative-literal-loads -Target Report Save Var(pcrelative_literal_loads) Init(2) Save +Target Report Var(pcrelative_literal_loads) Init(2) Save PC relative literal loads. msign-return-address= diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d1e097b..6e0e776 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -595,7 +595,9 @@ Objective-C and Objective-C++ Dialects}. -mlow-precision-recip-sqrt -mno-low-precision-recip-sqrt@gol -mlow-precision-sqrt -mno-low-precision-sqrt@gol -mlow-precision-div -mno-low-precision-div @gol --march=@var{name} -mcpu=@var{name} -mtune=@var{name}} +-mpc-relative-literal-loads -mno-pc-relative-literal-loads @gol +-msign-return-address=@var{scope} @gol +-march=@var{name} -mcpu=@var{name} -mtune=@var{name} -moverride=@var{string}} @emph{Adapteva Epiphany Options} @gccoptlist{-mhalf-reg-file -mprefer-short-insn-regs @gol @@ -14158,8 +14160,10 @@ across releases. This option is only intended to be useful when developing GCC. @item -mpc-relative-literal-loads +@item -mno-pc-relative-literal-loads @opindex mpc-relative-literal-loads -Enable PC-relative literal loads. With this option literal pools are +@opindex mno-pc-relative-literal-loads +Enable or disable PC-relative literal loads. With this option literal pools are accessed using a single instruction and emitted after each function. This limits the maximum size of functions to 1MB. This is enabled by default for @option{-mcmodel=tiny}.