summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2012-04-16 07:59:51 +0000
committerThomas Schwinge <tschwinge@gnu.org>2012-04-16 07:59:51 +0000
commitcbf68a605be6e1e8bab7c6e3ca2dddca38994fec (patch)
tree8d5281a27dc7de57825bd710e6f594cc98150b6d /gdb/testsuite/gdb.asm
parent9037154efd1fc79a64b88e121cf91e50b57d11e1 (diff)
downloadbinutils-gdb-cbf68a605be6e1e8bab7c6e3ca2dddca38994fec.tar.gz
gdb/testsuite/
* gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/sh.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/sh.inc b/gdb/testsuite/gdb.asm/sh.inc
index 9ea1b676c04..8816cb4aa02 100644
--- a/gdb/testsuite/gdb.asm/sh.inc
+++ b/gdb/testsuite/gdb.asm/sh.inc
@@ -31,7 +31,7 @@
comment "subroutine end"
.purgem gdbasm_end
.macro gdbasm_end name
- .size \name, .-_foo1
+ .size \name, . - \name
.align 1
.endm