]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: Fix typo in gas/testsuite/gas/riscv/mapping.s
authorJim Lin <jim@andestech.com>
Mon, 28 Oct 2024 01:46:32 +0000 (09:46 +0800)
committerNelson Chu <nelson@rivosinc.com>
Mon, 28 Oct 2024 03:13:44 +0000 (11:13 +0800)
gas/
        * gas/riscv/mapping.s: Fix typo.
        * gas/riscv/mapping-dis.d: Fix typo.
        * gas/riscv/mapping-symbols.d. Fix typo.

gas/testsuite/gas/riscv/mapping-dis.d
gas/testsuite/gas/riscv/mapping-symbols.d
gas/testsuite/gas/riscv/mapping.s

index b1a26fbd151bf563b80add2fd3c82b92a01a2199..133843a8a7c552caa9c8218d16688c42c0939516 100644 (file)
@@ -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
index 6af825d8ad3e3906103da0d8ff0f3f2779aa723b..057454bf991ec879f258e85258c11147cd03e29f 100644 (file)
@@ -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
index 6882a9e61056a2e63d3d177055e25d7cd330a6c8..0382cfc3c655501edb66bfc92cd20ff63bab3c0e 100644 (file)
@@ -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