1 Star 0 Fork 128

周正亮/gcc

forked from src-openEuler/gcc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
LoongArch-document-m-no-explicit-relocs.patch 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
ticat_fp 提交于 2024-03-26 09:26 . LoongArch: update from gcc upstream
From 3742550e00bf0401ead01cde64fc1571ffa075fc Mon Sep 17 00:00:00 2001
From: WANG Xuerui <i@xen0n.name>
Date: Wed, 27 Jul 2022 15:01:17 +0800
Subject: [PATCH 007/124] LoongArch: document -m[no-]explicit-relocs
gcc/ChangeLog:
* doc/invoke.texi: Document -m[no-]explicit-relocs for
LoongArch.
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
---
gcc/doc/invoke.texi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 2b376e0e9..1de2b2bd4 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -24663,6 +24663,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
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhou-zhengliang/gcc.git
git@gitee.com:zhou-zhengliang/gcc.git
zhou-zhengliang
gcc
gcc
master

搜索帮助