aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2022-07-18 16:47:21 +0100
committerMaciej W. Rozycki <macro@embecosm.com>2022-07-18 16:47:21 +0100
commite9ee752bbe2cc5632b803b01dc7c98ff214aede9 (patch)
tree737f79413ff8c06d2ec8405b1bc4ad71fb87cb7c /gcc/doc
parentfa16bb8ac0aba681bc9242f9a9717824c4867f91 (diff)
downloadgcc-e9ee752bbe2cc5632b803b01dc7c98ff214aede9.zip
gcc-e9ee752bbe2cc5632b803b01dc7c98ff214aede9.tar.gz
gcc-e9ee752bbe2cc5632b803b01dc7c98ff214aede9.tar.bz2
RISC-V/doc: Add index references for `mrelax' and `mriscv-attribute'
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'.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1f6c73ec..94689be 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -28373,12 +28373,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.