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 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.