diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 64c5ed2ffde..f2dee977b00 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