From 7df79970bfec96e186cd50ac951f7017c2109a13 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Mon, 18 Jul 2022 16:47:20 +0100 Subject: [PATCH] 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'. --- gcc/doc/invoke.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 94fe57aa4e2..9f2f97c5505 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. -- 2.47.2