[binutils-gdb] gdb/testsuite: Fix gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
Peter Bergner
bergner@sourceware.org
Tue Dec 2 16:47:26 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a9304819899e9164c9550c601ed81d807df2c794
commit a9304819899e9164c9550c601ed81d807df2c794
Author: Yu-Cheng Liang <yclwlcy@gmail.com>
Date: Tue Dec 2 10:40:35 2025 -0600
gdb/testsuite: Fix gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
The .size calculation for bar's function incorrectly uses the label func
instead of bar. Fix it.
Signed-off-by: Yu-Cheng Liang <yclwlcy@gmail.com>
Diff:
---
gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S b/gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
index 11549eb26e6..d10d48d77c0 100644
--- a/gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
+++ b/gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
@@ -21,7 +21,7 @@
.type bar, @function
bar:
tail 1f
- .size bar, .-func
+ .size bar, .-bar
.align 1
.globl func
More information about the Gdb-cvs
mailing list