]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: doc: Update -m[no-]explicit-relocs for r14-4160
authorXi Ruoyao <xry111@xry111.site>
Mon, 25 Sep 2023 08:10:58 +0000 (16:10 +0800)
committerXi Ruoyao <xry111@xry111.site>
Mon, 25 Sep 2023 08:12:22 +0000 (16:12 +0800)
gcc/ChangeLog:

* doc/invoke.texi: Update -m[no-]explicit-relocs for r14-4160.

gcc/doc/invoke.texi

index ba7984bcb7ecc2f2c2ca8100729d5d15ad54ff11..146b40414b01650eef9bf7c326d159f6d1f53b47 100644 (file)
@@ -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.