aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-09-25 16:10:58 +0800
committerXi Ruoyao <xry111@xry111.site>2023-09-25 16:12:22 +0800
commitc25d6f152118ebf680bf9f5ece98278e5ae13d9d (patch)
tree6c1e9e6405a770f2184a70dc8db7afcb5db1a2eb
parent2bbac12ea7bd8a3eef5382e1b13f6019df4ec03f (diff)
downloadgcc-c25d6f152118ebf680bf9f5ece98278e5ae13d9d.zip
gcc-c25d6f152118ebf680bf9f5ece98278e5ae13d9d.tar.gz
gcc-c25d6f152118ebf680bf9f5ece98278e5ae13d9d.tar.bz2
LoongArch: doc: Update -m[no-]explicit-relocs for r14-4160
gcc/ChangeLog: * doc/invoke.texi: Update -m[no-]explicit-relocs for r14-4160.
-rw-r--r--gcc/doc/invoke.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index ba7984b..146b404 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -26159,10 +26159,12 @@ The default code model is @code{normal}.
@itemx -mno-explicit-relocs
Use or do not use assembler relocation operators when dealing with symbolic
addresses. The alternative is to use assembler macros instead, which may
-limit optimization. The default value for the option is determined during
-GCC build-time by detecting corresponding assembler support:
-@code{-mexplicit-relocs} if said support is present,
-@code{-mno-explicit-relocs} otherwise. This option is mostly useful for
+limit instruction scheduling but allow linker relaxation. The default
+value for the option is determined during GCC build-time by detecting
+corresponding assembler support:
+@code{-mno-explicit-relocs} if the assembler supports relaxation or it
+does not support relocation operators at all,
+@code{-mexplicit-relocs} otherwise. This option is mostly useful for
debugging, or interoperation with assemblers different from the build-time
one.