9 Star 0 Fork 34

src-anolis-os/gcc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
LoongArch-Add-missing-headers.patch 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
ticat_fp 提交于 2024-01-16 14:18 . Re-enable support for LoongArch
From abae9df56090904daf1295744322950cd8380f9a Mon Sep 17 00:00:00 2001
From: Lixing <lixing@loongson.cn>
Date: Thu, 3 Aug 2023 11:17:50 +0800
Subject: [PATCH] LoongArch: Add missing headers
---
gcc/config/loongarch/genopts/loongarch.opt.in | 9 +++++++++
gcc/config/loongarch/loongarch.opt | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/gcc/config/loongarch/genopts/loongarch.opt.in b/gcc/config/loongarch/genopts/loongarch.opt.in
index 463dfec77..b8aab4ca8 100644
--- a/gcc/config/loongarch/genopts/loongarch.opt.in
+++ b/gcc/config/loongarch/genopts/loongarch.opt.in
@@ -20,12 +20,21 @@
; <http://www.gnu.org/licenses/>.
;
+HeaderInclude
+config/loongarch/loongarch-tune.h
+
+HeaderInclude
+config/loongarch/loongarch-def.h
+
HeaderInclude
config/loongarch/loongarch-opts.h
HeaderInclude
config/loongarch/loongarch-str.h
+HeaderInclude
+config/loongarch/loongarch-driver.h
+
TargetVariable
unsigned int recip_mask = 0
diff --git a/gcc/config/loongarch/loongarch.opt b/gcc/config/loongarch/loongarch.opt
index 075a2d6c7..3dfe5f3cb 100644
--- a/gcc/config/loongarch/loongarch.opt
+++ b/gcc/config/loongarch/loongarch.opt
@@ -27,12 +27,21 @@
; <http://www.gnu.org/licenses/>.
;
+HeaderInclude
+config/loongarch/loongarch-tune.h
+
+HeaderInclude
+config/loongarch/loongarch-def.h
+
HeaderInclude
config/loongarch/loongarch-opts.h
HeaderInclude
config/loongarch/loongarch-str.h
+HeaderInclude
+config/loongarch/loongarch-driver.h
+
TargetVariable
unsigned int recip_mask = 0
--
2.39.3
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/gcc.git
git@gitee.com:src-anolis-os/gcc.git
src-anolis-os
gcc
gcc
a8

搜索帮助