From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7867) id 193453858D33; Wed, 18 Oct 2023 00:58:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 193453858D33 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: liu & zhensong To: bfd-cvs@sourceware.org Subject: [binutils-gdb] LoongArch: Correct comments. X-Act-Checkin: binutils-gdb X-Git-Author: caiyinyu X-Git-Refname: refs/heads/master X-Git-Oldrev: cc45b289914236d153aed43ff40da6470cbd8877 X-Git-Newrev: 85ad846e722b01603d4a7f6348d95f3b026e75eb Message-Id: <20231018005831.193453858D33@sourceware.org> Date: Wed, 18 Oct 2023 00:58:31 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2023 00:58:31 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D85ad846e722b= 01603d4a7f6348d95f3b026e75eb commit 85ad846e722b01603d4a7f6348d95f3b026e75eb Author: caiyinyu 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 =3D 0xfffffffffffff812 (if lo12 > 0x7ff, because sign-extend, lo20 need to sub 0x1) - lu32i.d $t0, lo12 (0x71234) + lu32i.d $t0, lo20 (0x71234) $t0 =3D {0x71234, 0xfffff812} =3D 0x71234fffff812 lu52i.d $t0, hi12 (0x0)