]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc/invoke: Remove duplicate explicit-relocs entry of MIPS
authorYunQiang Su <syq@gcc.gnu.org>
Sun, 28 Jan 2024 05:16:23 +0000 (13:16 +0800)
committerYunQiang Su <syq@gcc.gnu.org>
Sun, 28 Jan 2024 05:21:41 +0000 (13:21 +0800)
When add new style -mexplicit-relocs=, the old style was not removed.

gcc
* doc/invoke.texi: Remove duplicate MIPS explicit-relocs option.

gcc/doc/invoke.texi

index 64c5ed2ffde2e930d97366cd928c91a48cc6394e..f2dee977b007fbbb27b51f8d16f26214bae094f9 100644 (file)
@@ -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