From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7867) id 01CF53858C50; Sun, 23 Apr 2023 02:08:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01CF53858C50 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: Fix loongarch32 test fails X-Act-Checkin: binutils-gdb X-Git-Author: mengqinggang X-Git-Refname: refs/heads/master X-Git-Oldrev: 630e5a235eb7be043ab2fe9ed3d030d0ebd5aa92 X-Git-Newrev: fda507e61c40b25c339c2dbd7ace70498779f70a Message-Id: <20230423020851.01CF53858C50@sourceware.org> Date: Sun, 23 Apr 2023 02:08:50 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2023 02:08:51 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dfda507e61c40= b25c339c2dbd7ace70498779f70a commit fda507e61c40b25c339c2dbd7ace70498779f70a Author: mengqinggang Date: Sun Apr 23 09:55:46 2023 +0800 LoongArch: Fix loongarch32 test fails =20 Regenerated macro_op_32.d and add skip loongarch64-*-*. =20 gas/ChangeLog: =20 * testsuite/gas/loongarch/macro_op_32.d: Regenerated. =20 ld/ChangeLog: =20 * testsuite/ld-loongarch-elf/macro_op_32.d: Regenerated. Diff: --- gas/testsuite/gas/loongarch/macro_op_32.d | 14 +++++++------- ld/testsuite/ld-loongarch-elf/macro_op_32.d | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gas/testsuite/gas/loongarch/macro_op_32.d b/gas/testsuite/gas/= loongarch/macro_op_32.d index 145d852b2be..a78c4579ee9 100644 --- a/gas/testsuite/gas/loongarch/macro_op_32.d +++ b/gas/testsuite/gas/loongarch/macro_op_32.d @@ -7,19 +7,19 @@ =20 Disassembly of section .text: =20 -00000000.* <.text>: +00000000.* <.L1>: [ ]+0:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero [ ]+4:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) [ ]+8:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero [ ]+c:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) [ ]+10:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 -[ ]+10:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+10:[ ]+R_LARCH_GOT_PC_HI20[ ]+.L1 [ ]+14:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 -[ ]+14:[ ]+R_LARCH_GOT_PC_LO12[ ]+.text +[ ]+14:[ ]+R_LARCH_GOT_PC_LO12[ ]+.L1 [ ]+18:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 -[ ]+18:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+18:[ ]+R_LARCH_GOT_PC_HI20[ ]+.L1 [ ]+1c:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 -[ ]+1c:[ ]+R_LARCH_GOT_PC_LO12[ ]+.text +[ ]+1c:[ ]+R_LARCH_GOT_PC_LO12[ ]+.L1 [ ]+20:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 [ ]+20:[ ]+R_LARCH_PCALA_HI20[ ]+.text [ ]+24:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 @@ -34,9 +34,9 @@ Disassembly of section .text: [ ]+34:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 [ ]+34:[ ]+R_LARCH_PCALA_LO12[ ]+.text [ ]+38:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 -[ ]+38:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+38:[ ]+R_LARCH_GOT_PC_HI20[ ]+.L1 [ ]+3c:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 -[ ]+3c:[ ]+R_LARCH_GOT_PC_LO12[ ]+.text +[ ]+3c:[ ]+R_LARCH_GOT_PC_LO12[ ]+.L1 [ ]+40:[ ]+14000004[ ]+lu12i.w[ ]+\$a0,[ ]+0 [ ]+40:[ ]+R_LARCH_TLS_LE_HI20[ ]+TLS1 [ ]+44:[ ]+03800084[ ]+ori[ ]+\$a0,[ ]+\$a0,[ ]+0x0 diff --git a/ld/testsuite/ld-loongarch-elf/macro_op_32.d b/ld/testsuite/ld-= loongarch-elf/macro_op_32.d index 145d852b2be..a78c4579ee9 100644 --- a/ld/testsuite/ld-loongarch-elf/macro_op_32.d +++ b/ld/testsuite/ld-loongarch-elf/macro_op_32.d @@ -7,19 +7,19 @@ =20 Disassembly of section .text: =20 -00000000.* <.text>: +00000000.* <.L1>: [ ]+0:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero [ ]+4:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) [ ]+8:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero [ ]+c:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) [ ]+10:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 -[ ]+10:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+10:[ ]+R_LARCH_GOT_PC_HI20[ ]+.L1 [ ]+14:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 -[ ]+14:[ ]+R_LARCH_GOT_PC_LO12[ ]+.text +[ ]+14:[ ]+R_LARCH_GOT_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