]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: Fix gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S
authorYu-Cheng Liang <yclwlcy@gmail.com>
Tue, 2 Dec 2025 16:40:35 +0000 (10:40 -0600)
committerPeter Bergner <bergner@tenstorrent.com>
Tue, 2 Dec 2025 16:42:16 +0000 (10:42 -0600)
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>
gdb/testsuite/gdb.arch/riscv-unwind-long-insn.S

index 11549eb26e636618e3e0d0bff5e44fe5151834da..d10d48d77c0614245dc3d375e80e1068d0471c21 100644 (file)
@@ -21,7 +21,7 @@
        .type   bar, @function
 bar:
        tail       1f
-       .size   bar, .-func
+       .size   bar, .-bar
 
        .align  1
        .globl  func