aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.asm/sh.inc2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 92ddbe8..c47160e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
+
2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
PR mi/13393
diff --git a/gdb/testsuite/gdb.asm/sh.inc b/gdb/testsuite/gdb.asm/sh.inc
index 9ea1b67..8816cb4 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