* [binutils-gdb] LoongArch: Correct comments.
@ 2023-10-18 0:58 liu & zhensong
0 siblings, 0 replies; only message in thread
From: liu & zhensong @ 2023-10-18 0:58 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85ad846e722b01603d4a7f6348d95f3b026e75eb
commit 85ad846e722b01603d4a7f6348d95f3b026e75eb
Author: caiyinyu <caiyinyu@loongson.cn>
Date: Tue Oct 17 20:58:40 2023 +0800
LoongArch: Correct comments.
Diff:
---
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 5d5ca19d490..18ad3cc91ca 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-18 0:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 0:58 [binutils-gdb] LoongArch: Correct comments liu & zhensong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).