aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYunQiang Su <syq@gcc.gnu.org>2024-01-28 13:16:23 +0800
committerYunQiang Su <syq@gcc.gnu.org>2024-01-28 13:21:41 +0800
commit46df13697a4f213b5a85e662c1c32f1b11f1f337 (patch)
treed305f9cc3171cb3d716791a7ce4a284bdfc33460 /gcc
parent3979171d8ea149912d99bdca6aeb3e7276842f02 (diff)
downloadgcc-46df13697a4f213b5a85e662c1c32f1b11f1f337.zip
gcc-46df13697a4f213b5a85e662c1c32f1b11f1f337.tar.gz
gcc-46df13697a4f213b5a85e662c1c32f1b11f1f337.tar.bz2
doc/invoke: Remove duplicate explicit-relocs entry of MIPS
When add new style -mexplicit-relocs=, the old style was not removed. gcc * doc/invoke.texi: Remove duplicate MIPS explicit-relocs option.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi35
1 files changed, 12 insertions, 23 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 64c5ed2..f2dee97 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -28440,16 +28440,20 @@ Enable (disable) use of the @code{%hi()} and @code{%lo()} assembler
relocation operators. This option has been superseded by
@option{-mexplicit-relocs} but is retained for backwards compatibility.
-@opindex mexplicit-relocs
-@opindex mno-explicit-relocs
-@item -mexplicit-relocs
+@opindex mexplicit-relocs=none
+@opindex mexplicit-relocs=base
+@opindex mexplicit-relocs=pcrel
+@item -mexplicit-relocs=none
+@itemx -mexplicit-relocs=base
+@itemx -mexplicit-relocs=pcrel
+@itemx -mexplicit-relocs
@itemx -mno-explicit-relocs
-Use (do not use) assembler relocation operators when dealing with symbolic
-addresses. The alternative, selected by @option{-mno-explicit-relocs},
-is to use assembler macros instead.
+These options control whether explicit relocs (such as %gp_rel) are used.
+The default value depends on the version of GAS when GCC itself was built.
-@option{-mexplicit-relocs} is the default if GCC was configured
-to use an assembler that supports relocation operators.
+The @code{base} explicit-relocs support introdunced into GAS in 2001.
+The @code{pcrel} explicit-relocs support introdunced into GAS in 2014,
+which supports @code{%pcrel_hi} and @code{%pcrel_lo}.
@opindex mcheck-zero-division
@opindex mno-check-zero-division
@@ -28772,21 +28776,6 @@ branch to be used if one is available in the current ISA and the delay
slot is successfully filled. If the delay slot is not filled, a compact
branch will be chosen if one is available.
-@opindex mexplicit-relocs=none
-@opindex mexplicit-relocs=base
-@opindex mexplicit-relocs=pcrel
-@item -mexplicit-relocs=none
-@itemx -mexplicit-relocs=base
-@itemx -mexplicit-relocs=pcrel
-@itemx -mexplicit-relocs
-@itemx -mno-explicit-relocs
-These options control whether explicit relocs (such as %gp_rel) are used.
-The default value depends on the version of GAS when GCC itself was built.
-
-The @code{base} explicit-relocs support introdunced into GAS in 2001.
-The @code{pcrel} explicit-relocs support introdunced into GAS in 2014,
-which supports @code{%pcrel_hi} and @code{%pcrel_lo}.
-
@opindex mfp-exceptions
@item -mfp-exceptions
@itemx -mno-fp-exceptions