From patchwork Thu Jan 4 16:44:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Tardieu X-Patchwork-Id: 185075 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5726840dyb; Thu, 4 Jan 2024 08:44:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYdrY6S0140jhwYgCeik9ywERP4owGr0Pu21ZczuFJ7MPcS4hbScwYvwty+nd4/oVFc3ym X-Received: by 2002:a05:6358:70f:b0:16b:9480:41c8 with SMTP id e15-20020a056358070f00b0016b948041c8mr942834rwj.1.1704386674037; Thu, 04 Jan 2024 08:44:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704386674; cv=pass; d=google.com; s=arc-20160816; b=wv/R18g9DkaUnfyaJJ2Buwvbq95U/U035f1+YacwrJd04TOoVc2ZBD9jR5xnVb4kDJ DnATRfU2r2IW2uQa/NKmHgBGuuBA2CFArcrX4iM1Emwcoa3miNR+GejSY4HcqC/wIyv7 /b9jnb3HNrGPh4ZyZf86NAW1/BO5KwLKcl6UHA/KzsO3I0La4ZAD5xVC9SHDRweZaWXH 0dusLlKZ6nQ2x/1p2ObtFwVTwX9oNnRXSiGC8WhK3bggS/KSQ0Vj8O4/FC03o2b7HAVr 0/bmFsfP5mVP4+7bhHji6sph8K+3MYDhC6jF+0coffgR8kV7FWnztLe5yAop+QdX9VYO dMjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=tjwql3iv0Zx39fe4GPrGEyFU665zb/kAOoPIEuiQc9o=; fh=PF9avKVP2Byh9i5LzFa9ggP1qyh7FDoH1mpdh/g3GTw=; b=XdK77fZJAUEBPe2yyuWIgQmnjpMFZN9JEGOgFBVOAZQCPC7M6YoW01PoAXw8IXfukT 7qC0xKcyxr4hb26PFxRm5bDAt4gHPM49h+A9dU34apKeADZIx2gKaETWS7GFQJaUV6xk LvedtK39TVDzL7tUH3nv4C/amzX5jABOhoAmPzTSTGzFacHuZwlbS3bFxx0IH8N03nMT yOKFKdbduh97u+Wv0TEarEhXaV69cxyvOhf6dslcbqb6aTn+yUorkiz402u1DJrq1LkO 8wFE81Dg8zV9D8F7qgcSPwn8b+lzuag0VaJXub1slDphPSvJNpY40pOpdeTThRbtHz/Y xOqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rfc1149.net header.s=smtp header.b=oNh460HY; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rfc1149.net Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z8-20020a05622a060800b0042581018846si31696603qta.58.2024.01.04.08.44.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 08:44:34 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@rfc1149.net header.s=smtp header.b=oNh460HY; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rfc1149.net Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A8C1038582B7 for ; Thu, 4 Jan 2024 16:44:33 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from zoidberg.rfc1149.net (zoidberg.rfc1149.net [195.154.227.159]) by sourceware.org (Postfix) with ESMTPS id C113E385840A for ; Thu, 4 Jan 2024 16:44:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C113E385840A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=rfc1149.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rfc1149.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C113E385840A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.154.227.159 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704386660; cv=none; b=lgNacQnOGk1scfXvGzkRoqBlBctza3t2AP0NGRdSA5bjEaURuRkvxTXEHq9/PM0Y69YN6DEmrtCWtSgsUYFl/YghSmQJnwPmRniyxy73CmHSoPFwxZKnHAuxUBJKihPPlT1u4apZsBNhmLU99MAkjoVV7WEF2rcIpZpBcXM1ZEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704386660; c=relaxed/simple; bh=vnFpSuKcRSbAZYMFPRPBDu4malRu1/irJXNocmlHLJ8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Ok23SVX53QDoIf8qY6KYe2/GxNNLWlY6y411dPTFmFtmW+MSHQ70VMEgnvGs+oq29BYJlbVaffohyQKQzzsOB7QAW10sWeDYllZIkIkyQ3kO8cWMAb8P14YeDEnl4nij3gw1LiEoVREcBLP9eIcVxeXKyt6fIIeEBe/wT9MarKE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by zoidberg.rfc1149.net (Postfix) with ESMTPSA id 10D5880024; Thu, 4 Jan 2024 17:44:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rfc1149.net; s=smtp; t=1704386657; bh=vnFpSuKcRSbAZYMFPRPBDu4malRu1/irJXNocmlHLJ8=; h=From:To:Cc:Subject:Date; b=oNh460HYZrQD3k5u+U0WHdFfJZ06vbTK2m+d/gf30N84Ww5AHHfPk66teVs+XXvys Viaj4mrbX4AtSJECSZGGFXj2ku86svMVT5Y+cBRaHb7Ba5I9jcx8ww7mpJMzqNRZga Mmbi438JiJdhyR1mHhA8vu6E8Uy6YZITR1A2axm7cwUDZmOmUeGw5PMQer1EinYA1K 9hgagx/ifedbRBjXnvBEMvYWU8UzUxfAK+CrutSQbPSk0APbU/eUA0Y4hYxiKBR80k CEWo/4IEtdzUloaUwSKESVtcJuKUUZvLFdISJQwxUK1nvMDcppnsGfnwylezib+5uO i0ZYxtdmTzB6A== From: Samuel Tardieu To: binutils@sourceware.org Cc: Samuel Tardieu Subject: [PATCH v2] gas/doc: fix several typos Date: Thu, 4 Jan 2024 17:44:16 +0100 Message-ID: <20240104164416.3594831-1-sam@rfc1149.net> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787178960735582314 X-GMAIL-MSGID: 1787178960735582314 Signed-off-by: Samuel Tardieu --- Updated to cope with the 2024 copyright date update in some file headers. gas/doc/as.texi | 6 +++--- gas/doc/c-i386.texi | 2 +- gas/doc/c-kvx.texi | 6 +++--- gas/doc/c-loongarch.texi | 2 +- gas/doc/c-msp430.texi | 2 +- gas/doc/c-or1k.texi | 2 +- gas/doc/c-riscv.texi | 4 ++-- gas/doc/c-s390.texi | 2 +- gas/doc/c-sparc.texi | 2 +- gas/doc/c-z80.texi | 8 ++++---- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/gas/doc/as.texi b/gas/doc/as.texi index bd1f5635b7a..525157e7cd0 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -838,7 +838,7 @@ suffix. @item --gdwarf-cie-version=@var{version} Control which version of DWARF Common Information Entries (CIEs) are produced. -When this flag is not specificed the default is version 1, though some targets +When this flag is not specified the default is version 1, though some targets can modify this default. Other possible values for @var{version} are 3 or 4. @ifset ELF @@ -5507,7 +5507,7 @@ With this version a separate directory name is allowed, although if this is used then @var{filename} should not contain any directory component, except for @var{fileno} equal to 0: in this case, @var{dirname} is expected to be the current directory and @var{filename} the currently processed file, and -the latter need not be located in the former. In addtion an MD5 hash value +the latter need not be located in the former. In addition an MD5 hash value of the contents of @var{filename} can be provided. This will be stored in the the file table as well, and can be used by tools reading the debug information to verify that the contents of the source file match the @@ -6909,7 +6909,7 @@ must be present along with an additional field like this: The @var{SymbolName} field specifies the symbol name which the section references. Alternatively a numeric @var{SectionIndex} can be provided. This -is not generally a good idea as section indicies are rarely known at assembly +is not generally a good idea as section indices are rarely known at assembly time, but the facility is provided for testing purposes. An index of zero is allowed. It indicates that the linked-to section has already been discarded. diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index f3f7890cf58..fdbd303d982 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -1727,7 +1727,7 @@ syntax. @item @samp{lfs}, @samp{lgs}, and @samp{lss} similarly allow for 16- and 32-bit operand size (32- and 48-bit memory operand) in both ISAs, -while Intel64 additionally supports 64-bit operand sise (80-bit memory +while Intel64 additionally supports 64-bit operand size (80-bit memory operands). @end itemize diff --git a/gas/doc/c-kvx.texi b/gas/doc/c-kvx.texi index ffdc5c8a800..5baec01a688 100644 --- a/gas/doc/c-kvx.texi +++ b/gas/doc/c-kvx.texi @@ -98,8 +98,8 @@ Print succinct diagnostics on one line. @table @code @cindex @code{.align} directive, KVX -@item .align ALIGNEMENT -Pad with NOPs until the next boundary with the required ALIGNEMENT. +@item .align ALIGNMENT +Pad with NOPs until the next boundary with the required ALIGNMENT. @cindex @code{.dword} directive, KVX @item .dword @@ -131,7 +131,7 @@ This directive is only supported when producing ELF files. @cindex @code{.loc} directive, KVX @item .loc FILENO LINENO -This directive is only supported when producting ELF files. +This directive is only supported when producing ELF files. @pxref{Line,,@code{.line}} for details. @cindex @code{.proc} directive, KVX diff --git a/gas/doc/c-loongarch.texi b/gas/doc/c-loongarch.texi index dd5236a37be..da8d5c937ed 100644 --- a/gas/doc/c-loongarch.texi +++ b/gas/doc/c-loongarch.texi @@ -1,5 +1,5 @@ @c Copyright (C) 2021-2024 Free Software Foundation, Inc. -@c This is part of the GAS anual. +@c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo @c man end diff --git a/gas/doc/c-msp430.texi b/gas/doc/c-msp430.texi index 18a435bb171..0de40b5128d 100644 --- a/gas/doc/c-msp430.texi +++ b/gas/doc/c-msp430.texi @@ -154,7 +154,7 @@ Extracts most significant word from 32-bit expression 'exp'. Extracts 3rd word from 64-bit expression 'exp'. @item hhi(exp) -Extracts 4rd word from 64-bit expression 'exp'. +Extracts 4th word from 64-bit expression 'exp'. @end table diff --git a/gas/doc/c-or1k.texi b/gas/doc/c-or1k.texi index 82a2d50e7a4..1babfe9ce0b 100644 --- a/gas/doc/c-or1k.texi +++ b/gas/doc/c-or1k.texi @@ -49,7 +49,7 @@ of a comment that extends to the end of that line. @cindex OpenRISC registers @cindex register names, OpenRISC -The OpenRISC register file contains 32 general pupose registers. +The OpenRISC register file contains 32 general purpose registers. @itemize @bullet @item diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi index e929c1cddbe..7484a71798a 100644 --- a/gas/doc/c-riscv.texi +++ b/gas/doc/c-riscv.texi @@ -1,5 +1,5 @@ @c Copyright (C) 2016-2024 Free Software Foundation, Inc. -@c This is part of the GAS anual. +@c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo @c man end @@ -457,7 +457,7 @@ only accept s0-s1, a0-a5, fs0-fs1 and fa0-fa5. @item uimm5 @tab Unsigned 5-bit immediate for operand x. @item uimm6 @tab Unsigned 6-bit immediate for operand x. @item uimm8 @tab Unsigned 8-bit immediate for operand x. -@item symbol @tab Symbol or lable reference for operand x. +@item symbol @tab Symbol or label reference for operand x. @end multitable @end display diff --git a/gas/doc/c-s390.texi b/gas/doc/c-s390.texi index 0028009597e..f73dfdeae60 100644 --- a/gas/doc/c-s390.texi +++ b/gas/doc/c-s390.texi @@ -190,7 +190,7 @@ character usually hint at the type of the instruction: @item b @tab branch instruction, for example @samp{bc} for branch on condition @item c @tab compare or convert instruction, for example @samp{cr} for compare register 32-bit -@item d @tab divide instruction, for example @samp{dlr} devide logical register +@item d @tab divide instruction, for example @samp{dlr} divide logical register 64-bit to 32-bit @item i @tab insert instruction, for example @samp{ic} insert character @item l @tab load instruction, for example @samp{ltr} load and test register diff --git a/gas/doc/c-sparc.texi b/gas/doc/c-sparc.texi index da4c11ce2e4..df3cc3626f1 100644 --- a/gas/doc/c-sparc.texi +++ b/gas/doc/c-sparc.texi @@ -345,7 +345,7 @@ The V9 address space identifier register is referred to as @samp{%asi}. The V9 restorable windows register is referred to as @samp{%canrestore}. @item -The V9 savable windows register is referred to as @samp{%cansave}. +The V9 saveable windows register is referred to as @samp{%cansave}. @item The V9 clean windows register is referred to as @samp{%cleanwin}. diff --git a/gas/doc/c-z80.texi b/gas/doc/c-z80.texi index db925b1304a..a1bd0d99bcb 100644 --- a/gas/doc/c-z80.texi +++ b/gas/doc/c-z80.texi @@ -43,9 +43,9 @@ are recognized: @code{z80n}, @code{r800}. In addition to the basic instruction set, the assembler can be told to -accept some extention mnemonics. For example, +accept some extension mnemonics. For example, @code{-march=z180+sli+infc} extends @var{z180} with @var{SLI} instructions and -@var{IN F,(C)}. The following extentions are currently supported: +@var{IN F,(C)}. The following extensions are currently supported: @code{full} (all known instructions), @code{adl} (ADL CPU mode by default, eZ80 only), @code{sli} (instruction known as @var{SLI}, @var{SLL} or @var{SL1}), @@ -54,9 +54,9 @@ accept some extention mnemonics. For example, @code{xdcb} (instructions like @var{RotOp (II+d),R} and @var{BitOp n,(II+d),R}), @code{infc} (instruction @var{IN F,(C)} or @var{IN (C)}), @code{outc0} (instruction @var{OUT (C),0}). -Note that rather than extending a basic instruction set, the extention +Note that rather than extending a basic instruction set, the extension mnemonics starting with @code{-} revoke the respective functionality: -@code{-march=z80-full+xyhl} first removes all default extentions and adds +@code{-march=z80-full+xyhl} first removes all default extensions and adds support for index registers halves only. If this option is not specified then @code{-march=z80+xyhl+infc} is assumed.