From: Jim Lin Date: Mon, 28 Oct 2024 01:46:32 +0000 (+0800) Subject: RISC-V: Fix typo in gas/testsuite/gas/riscv/mapping.s X-Git-Tag: gdb-16-branchpoint~587 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=917ed12066382c48459f85124cbeca1286c3bb53;p=thirdparty%2Fbinutils-gdb.git RISC-V: Fix typo in gas/testsuite/gas/riscv/mapping.s gas/ * gas/riscv/mapping.s: Fix typo. * gas/riscv/mapping-dis.d: Fix typo. * gas/riscv/mapping-symbols.d. Fix typo. --- diff --git a/gas/testsuite/gas/riscv/mapping-dis.d b/gas/testsuite/gas/riscv/mapping-dis.d index b1a26fbd151..133843a8a7c 100644 --- a/gas/testsuite/gas/riscv/mapping-dis.d +++ b/gas/testsuite/gas/riscv/mapping-dis.d @@ -11,7 +11,7 @@ Disassembly of section .text.cross.section.A: [ ]+[0-9a-f]+:[ ]+4505[ ]+li[ ]+a0,1 [ ]+[0-9a-f]+:[ ]+bffd[ ]+j[ ]+0 -Disassembly of section .text.corss.section.B: +Disassembly of section .text.cross.section.B: 0+000 : [ ]+[0-9a-f]+:[ ]+4509[ ]+li[ ]+a0,2 diff --git a/gas/testsuite/gas/riscv/mapping-symbols.d b/gas/testsuite/gas/riscv/mapping-symbols.d index 6af825d8ad3..057454bf991 100644 --- a/gas/testsuite/gas/riscv/mapping-symbols.d +++ b/gas/testsuite/gas/riscv/mapping-symbols.d @@ -10,9 +10,9 @@ SYMBOL TABLE: 0+00 l d .bss 0+00 .bss 0+00 l d .text.cross.section.A 0+00 .text.cross.section.A 0+00 l .text.cross.section.A 0+00 \$xrv32i2p1_c2p0 -0+00 l d .text.corss.section.B 0+00 .text.corss.section.B -0+00 l .text.corss.section.B 0+00 \$xrv32i2p1_c2p0 -0+02 l .text.corss.section.B 0+00 \$xrv32i2p1 +0+00 l d .text.cross.section.B 0+00 .text.cross.section.B +0+00 l .text.cross.section.B 0+00 \$xrv32i2p1_c2p0 +0+02 l .text.cross.section.B 0+00 \$xrv32i2p1 0+00 l d .text.data 0+00 .text.data 0+00 l .text.data 0+00 \$d 0+08 l .text.data 0+00 \$xrv32i2p1_c2p0 @@ -49,4 +49,4 @@ SYMBOL TABLE: 0+02 l .text.odd.align.start.data 0+00 \$xrv32i2p1_c2p0 0+00 l d .riscv.attributes 0+00 .riscv.attributes 0+00 g .text.cross.section.A 0+00 funcA -0+00 g .text.corss.section.B 0+00 funcB +0+00 g .text.cross.section.B 0+00 funcB diff --git a/gas/testsuite/gas/riscv/mapping.s b/gas/testsuite/gas/riscv/mapping.s index 6882a9e6105..0382cfc3c65 100644 --- a/gas/testsuite/gas/riscv/mapping.s +++ b/gas/testsuite/gas/riscv/mapping.s @@ -7,7 +7,7 @@ funcA: addi a0, zero, 1 # rv32i .option arch, +c j funcA # rv32ic -.section .text.corss.section.B, "ax" +.section .text.cross.section.B, "ax" .globl funcB funcB: addi a0, zero, 2 # rv32ic, need to be added since start of section