[binutils-gdb] RISC-V: Fix typo in gas/testsuite/gas/riscv/mapping.s

Nelson Chu nelsonc1225@sourceware.org
Mon Oct 28 03:16:00 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=917ed12066382c48459f85124cbeca1286c3bb53

commit 917ed12066382c48459f85124cbeca1286c3bb53
Author: Jim Lin <jim@andestech.com>
Date:   Mon Oct 28 09:46:32 2024 +0800

    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:
---
 gas/testsuite/gas/riscv/mapping-dis.d     | 2 +-
 gas/testsuite/gas/riscv/mapping-symbols.d | 8 ++++----
 gas/testsuite/gas/riscv/mapping.s         | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

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 <funcA>
 
-Disassembly of section .text.corss.section.B:
+Disassembly of section .text.cross.section.B:
 
 0+000 <funcB>:
 [ 	]+[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


More information about the Binutils-cvs mailing list