diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2023-10-17 20:58:40 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2023-10-18 08:58:05 +0800 |
commit | 85ad846e722b01603d4a7f6348d95f3b026e75eb (patch) | |
tree | d94e22a64854619d74d130f0a37b077964e907c2 /bfd/elfnn-loongarch.c | |
parent | cc45b289914236d153aed43ff40da6470cbd8877 (diff) | |
download | gdb-85ad846e722b01603d4a7f6348d95f3b026e75eb.zip gdb-85ad846e722b01603d4a7f6348d95f3b026e75eb.tar.gz gdb-85ad846e722b01603d4a7f6348d95f3b026e75eb.tar.bz2 |
LoongArch: Correct comments.
Diffstat (limited to 'bfd/elfnn-loongarch.c')
-rw-r--r-- | bfd/elfnn-loongarch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c index 5d5ca19..18ad3cc 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) |