From patchwork Wed Jul 25 09:09:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 142850 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp568453ljj; Wed, 25 Jul 2018 02:10:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcbTWWXMulDCQt8RzoRW61/tuM/qfjmr0cOPApM7q8SnxSueg3TIlzYfYbypIBH2NYU7es0 X-Received: by 2002:a17:902:9695:: with SMTP id n21-v6mr20398942plp.6.1532509816093; Wed, 25 Jul 2018 02:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532509816; cv=none; d=google.com; s=arc-20160816; b=lYQpQQiVtoKaYjCLx1iKRiuDpiQsxrN7HSMPhHy/6bR+hy1rXb0cz1Hmeicnv5nNs7 bHrrG61yrlkKpVMgxWTyqlwxFIssfp4K8F+my5TzW7P0n7CfDD+KoPEdLMZ2ryjCBBKD qOuPhCNnkCG590V7WJEQhpr7BPE3xJFm+B+GEKXrTwYXXPhkLhCYt4e7XU+nhjz+Afe+ tNUOk77nt19sDlqfXiGQP3WsGty09zzS8UiTH0BJaNRuOrSFpzDahXYHtny6BgrT5Uak MSqKr2wB6UY6HtU+hbiTCOC1ksveoeUGWUrPpBhwGQoTuXw68sN1GUfELEe3kOjmMO/v zixg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature :delivered-to:sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=xfv9kAVRfi8U2tXPBDs22PbYeM4azf9jAtlfRUiXC/M=; b=AaWxlfungM6Xmf4h+4iZUmsGIefrODlMk+nVlMWc/6OeUnEw1z5zdBgTjXyiUj4vV6 sg0VxTmUGX5AF3zoCsGWK6gln7hpAe0zI9HPzurJIFqIYG/p8a/BaJ8L0kI6JFncEQs7 yBmayNq+IGFEDLTTVbMHNLhefgeGzhYWMNU5nuyfbye32zIi6dSbmkfu4Q2DI9X9NuDs UNA2SLsgtynp7AEbSNq3Pkk1g41GGfbPrhBx8gSFCEVzoQ3Gsu6M+DjqU9Ncm1vJmwxW Z9cCkT92Mwsd1geqZSxN0087KlxOWWlgQV/m7coWrL0CygjgY9zsdItcYkn+120Mgga5 CUww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=rdFRQWoP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=POe5oO8P; spf=pass (google.com: domain of binutils-return-102731-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="binutils-return-102731-patch=linaro.org@sourceware.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 65-v6si13803300pfe.49.2018.07.25.02.10.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 02:10:16 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-102731-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=rdFRQWoP; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=POe5oO8P; spf=pass (google.com: domain of binutils-return-102731-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="binutils-return-102731-patch=linaro.org@sourceware.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=GlQ1ynwkYN1mF7zbCJg2Owz1GwMQl jZiOpPt5dpQiKRDYdFuntNoyD7I3CfQRcaMLjqzEvbiu/uAN3O1X6BOe6e+nx+Ye DTUov0GcTT4Ej3RXcUuAh+xCndoBehrj1Onm8G1J71U1wM50r2ed6f//Je6r7RZy HGRXEKxC6pu2dU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=0zLlKd9/7u7MlFbEkHIo6YUxuWI=; b=rdF RQWoP+058iXGxTSERlEvVxjFvyq70BQ9rQTDTGI8sIjHgzd/yXkHBM+QF/qTZTUb e4UotRhzDxvP51wPPsea8MORlV41eG1Ye9QP8/FjgmuhroNAxX7cF7syWi/qQlq3 FjUptQD2bakObDZxXIczMsKDHF4/A76xVZ1kPpfk= Received: (qmail 109446 invoked by alias); 25 Jul 2018 09:10:02 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 109382 invoked by uid 89); 25 Jul 2018 09:10:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=PDF, HX-Received:sk:l69-v6m X-HELO: mail-it0-f47.google.com Received: from mail-it0-f47.google.com (HELO mail-it0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Jul 2018 09:10:00 +0000 Received: by mail-it0-f47.google.com with SMTP id 72-v6so7646436itw.3 for ; Wed, 25 Jul 2018 02:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=HGB0nLrymrZ7X4eH1xRImZ1APJpiF3zkq9s2iHmwt0k=; b=POe5oO8Pd8eAp06jEk3bpB9idRAPpo1k2AeWhTb+wpJvyU0TyjXDZwApXsjNV/QBvp al613KLJI5dV40a6VVLCCqj9KDIKZX1Tayl5MWj+7LoCt2RhVsCo36hdCoqdHQFrqXnT vzrWNC5rz3mMU+nzVTA71qqUFKeEJsDkwP8wg= MIME-Version: 1.0 From: Thomas Preudhomme Date: Wed, 25 Jul 2018 10:09:47 +0100 Message-ID: Subject: [PATCH, ARM] Clarify doc for .arch/.cpu To: Ramana Radhakrishnan , Richard Earnshaw , Nick Clifton , binutils@sourceware.org Documentation for .arch and .cpu directives currently says that it accepts the same name as -march/-mcpu command-line options respectively. However it only accept the architecture/CPU part of those options: it does not accept specifying an extension which is done via .arch_extension. This patch clarifies that the extension is not accepted. ChangeLog entry is as follows: *** gas/ChangeLog *** 2018-07-25 Thomas Preud'homme * doc/c-arm.texi (.arch directive): Clarify that name must not include an extension. (.cpu directive): Likewise. Testing: Successfully built the info, PDF and HTML gas documentation. Is this ok for master? Best regards, Thomas >From e50d39a7e433dfe79409a42355ad994cf1e25669 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 25 Jul 2018 09:51:51 +0100 Subject: [PATCH] [PATCH, ARM] Clarify doc for .arch/.cpu Documentation for .arch and .cpu directives currently says that it accepts the same name as -march/-mcpu command-line options respectively. However it only accept the architecture/CPU part of those options: it does not accept specifying an extension which is done via .arch_extension. This patch clarifies that the extension is not accepted. ChangeLog entry is as follows: *** gas/ChangeLog *** 2018-07-25 Thomas Preud'homme * doc/c-arm.texi (.arch directive): Clarify that name must not include an extension. (.cpu directive): Likewise. Testing: Successfully built the info, PDF and HTML gas documentation. Is this ok for master? Best regards, Thomas --- gas/doc/c-arm.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index d2f6fe1809..a316c267e2 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -624,7 +624,8 @@ boundary). This is for compatibility with ARM's own assembler. @cindex @code{.arch} directive, ARM @item .arch @var{name} Select the target architecture. Valid values for @var{name} are the same as -for the @option{-march} command-line option. +for the @option{-march} command-line option without the instruction set +extension. Specifying @code{.arch} clears any previously selected architecture extensions. @@ -663,7 +664,8 @@ selects Thumb, with the value 32 selecting ARM. @cindex @code{.cpu} directive, ARM @item .cpu @var{name} Select the target processor. Valid values for @var{name} are the same as -for the @option{-mcpu} command-line option. +for the @option{-mcpu} command-line option without the instruction set +extension. Specifying @code{.cpu} clears any previously selected architecture extensions. -- 2.18.0