aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWANG Xuerui <i@xen0n.name>2022-07-27 15:01:17 +0800
committerMartin Liska <mliska@suse.cz>2022-07-28 14:09:06 +0200
commita852409c60afcf96f67e632a8588f6457aff4e88 (patch)
treeb627ae870cb8cfb9574f0b5567bf6d96b98a7db1 /gcc
parent14ab26cfa5970b98f170c4715619f95eb6c4c96a (diff)
downloadgcc-a852409c60afcf96f67e632a8588f6457aff4e88.zip
gcc-a852409c60afcf96f67e632a8588f6457aff4e88.tar.gz
gcc-a852409c60afcf96f67e632a8588f6457aff4e88.tar.bz2
LoongArch: document -m[no-]explicit-relocs
gcc/ChangeLog: * doc/invoke.texi: Document -m[no-]explicit-relocs for LoongArch.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 5fb4844..21260ee 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -24898,6 +24898,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