]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: document -m[no-]explicit-relocs
authorWANG Xuerui <i@xen0n.name>
Wed, 27 Jul 2022 07:01:17 +0000 (15:01 +0800)
committerXi Ruoyao <xry111@xry111.site>
Wed, 27 Jul 2022 13:08:51 +0000 (21:08 +0800)
gcc/ChangeLog:

* doc/invoke.texi: Document -m[no-]explicit-relocs for
LoongArch.

gcc/doc/invoke.texi

index 9a3f2d14c5aa31d0315a383402d73770499fde4c..fa23fbeaaaa22cf48bc1c86899619f92d403a372 100644 (file)
@@ -24939,6 +24939,19 @@ global symbol: The data got table must be within +/-8EiB addressing space.
 @end itemize
 @end table
 The default code model is @code{normal}.
+
+@item -mexplicit-relocs
+@itemx -mno-explicit-relocs
+@opindex mexplicit-relocs
+@opindex 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
+debugging, or interoperation with assemblers different from the build-time
+one.
 @end table
 
 @node M32C Options