gdb/testsuite/
authorThomas Schwinge <tschwinge@gnu.org>
Mon, 16 Apr 2012 07:59:51 +0000 (07:59 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Mon, 16 Apr 2012 07:59:51 +0000 (07:59 +0000)
* gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.asm/sh.inc

index 92ddbe8..c47160e 100644 (file)
@@ -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
index 9ea1b67..8816cb4 100644 (file)
@@ -31,7 +31,7 @@
        comment "subroutine end"
        .purgem gdbasm_end
        .macro gdbasm_end name
-       .size   \name, .-_foo1
+       .size   \name, . - \name
        .align  1
        .endm