[committed] RISC-V/doc: Correct the name of `-mriscv-attribute'

Message ID alpine.DEB.2.20.2202041818210.11348@tpp.orcam.me.uk
State Committed
Commit 7df79970bfec96e186cd50ac951f7017c2109a13
Headers
Series [committed] RISC-V/doc: Correct the name of `-mriscv-attribute' |

Commit Message

Maciej W. Rozycki July 18, 2022, 3:51 p.m. UTC
  Correct the name of the `-mriscv-attribute' invocation option, including 
a typo in the negated form.

	gcc/
	* doc/invoke.texi (Option Summary): Fix `-mno-riscv-attribute'.
	(RISC-V Options): Likewise, and `-mriscv-attribute'.
---
Hi,

 Verified with `make info pdf' and committed as obvious.

  Maciej
---
 gcc/doc/invoke.texi |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

gcc-riscv-doc-mriscv-attribute.diff
  

Patch

Index: gcc/gcc/doc/invoke.texi
===================================================================
--- gcc.orig/gcc/doc/invoke.texi
+++ gcc/gcc/doc/invoke.texi
@@ -1211,7 +1211,7 @@  See RS/6000 and PowerPC Options.
 -mcmodel=medlow  -mcmodel=medany @gol
 -mexplicit-relocs  -mno-explicit-relocs @gol
 -mrelax  -mno-relax @gol
--mriscv-attribute  -mmo-riscv-attribute @gol
+-mriscv-attribute  -mno-riscv-attribute @gol
 -malign-data=@var{type} @gol
 -mbig-endian  -mlittle-endian @gol
 -mstack-protector-guard=@var{guard} -mstack-protector-guard-reg=@var{reg} @gol
@@ -28174,8 +28174,8 @@  Take advantage of linker relaxations to
 required to materialize symbol addresses. The default is to take advantage of
 linker relaxations.
 
-@item -memit-attribute
-@itemx -mno-emit-attribute
+@item -mriscv-attribute
+@itemx -mno-riscv-attribute
 Emit (do not emit) RISC-V attribute to record extra information into ELF
 objects.  This feature requires at least binutils 2.32.