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 92ddbe8e64eb493d6003f7e4590b23c84da0b16d..c47160e56ce48398ad19181e2f26c9f7899fb27e 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 9ea1b676c049770a9e2c98c5a35df64d426f4e97..8816cb4aa02c621ef0c108fd0a67333453fb5afc 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