aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2022-07-18 16:47:20 +0100
committerMaciej W. Rozycki <macro@embecosm.com>2022-07-18 16:47:20 +0100
commit7df79970bfec96e186cd50ac951f7017c2109a13 (patch)
tree341256f13aa0b0f245d4f26a74d341154aabf71c /gcc/doc
parent7501eec65c60701f72621d04eeb5342bad2fe4fb (diff)
downloadgcc-7df79970bfec96e186cd50ac951f7017c2109a13.zip
gcc-7df79970bfec96e186cd50ac951f7017c2109a13.tar.gz
gcc-7df79970bfec96e186cd50ac951f7017c2109a13.tar.bz2
RISC-V/doc: Correct the name of `-mriscv-attribute'
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'.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 94fe57a..9f2f97c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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.