]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V/doc: Correct the name of `-mriscv-attribute'
authorMaciej W. Rozycki <macro@embecosm.com>
Mon, 18 Jul 2022 15:47:20 +0000 (16:47 +0100)
committerMaciej W. Rozycki <macro@embecosm.com>
Mon, 18 Jul 2022 15:47:20 +0000 (16:47 +0100)
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'.

gcc/doc/invoke.texi

index 94fe57aa4e2818751532e3055816ef022e2ba75e..9f2f97c55052db3219978fcc00d6ed9cf2a47098 100644 (file)
@@ -1219,7 +1219,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
@@ -28377,8 +28377,8 @@ Take advantage of linker relaxations to reduce the number of instructions
 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.