[committed] RISC-V/doc: Add index references for `mrelax' and `mriscv-attribute'

Message ID alpine.DEB.2.20.2207180109070.10833@tpp.orcam.me.uk
State Committed
Commit e9ee752bbe2cc5632b803b01dc7c98ff214aede9
Headers
Series [committed] RISC-V/doc: Add index references for `mrelax' and `mriscv-attribute' |

Commit Message

Maciej W. Rozycki July 18, 2022, 3:51 p.m. UTC
  Add missing index references for the `-mrelax' and `-mriscv-attribute' 
invocation options.

	gcc/
	* doc/invoke.texi (RISC-V Options): Add index references for 
	`mrelax' and `mriscv-attribute'.
---
Hi,

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

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

gcc-riscv-doc-opindex.diff
  

Patch

Index: gcc/gcc/doc/invoke.texi
===================================================================
--- gcc.orig/gcc/doc/invoke.texi
+++ gcc/gcc/doc/invoke.texi
@@ -28170,12 +28170,14 @@  limit optimization.
 
 @item -mrelax
 @itemx -mno-relax
+@opindex mrelax
 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 -mriscv-attribute
 @itemx -mno-riscv-attribute
+@opindex mriscv-attribute
 Emit (do not emit) RISC-V attribute to record extra information into ELF
 objects.  This feature requires at least binutils 2.32.