5 Star 0 Fork 13

OpenCloudOS Stream/binutils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
LoongArch-Correct-comments.patch 804 Bytes
一键复制 编辑 原始数据 按行查看 历史
油屋 提交于 2024-11-07 15:00 . sync from upstream
From 4744da32d9f3c4fb37f4ddf4019a514bbbbd5220 Mon Sep 17 00:00:00 2001
From: caiyinyu <[email protected]>
Date: Tue, 17 Oct 2023 20:58:40 +0800
Subject: [PATCH 015/123] LoongArch: Correct comments.
---
bfd/elfnn-loongarch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c
index 7dbe31eb..09c98713 100644
--- a/bfd/elfnn-loongarch.c
+++ b/bfd/elfnn-loongarch.c
@@ -2325,7 +2325,7 @@ loongarch_reloc_is_fatal (struct bfd_link_info *info,
addi.d $t0, $zero, lo12 (0x812)
$t0 = 0xfffffffffffff812 (if lo12 > 0x7ff, because sign-extend,
lo20 need to sub 0x1)
- lu32i.d $t0, lo12 (0x71234)
+ lu32i.d $t0, lo20 (0x71234)
$t0 = {0x71234, 0xfffff812}
= 0x71234fffff812
lu52i.d $t0, hi12 (0x0)
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/binutils.git
[email protected]:opencloudos-stream/binutils.git
opencloudos-stream
binutils
binutils
master

搜索帮助