]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid non-local asm labels. Fixes bug #189054.
authorNicholas Nethercote <njn@valgrind.org>
Wed, 15 Apr 2009 03:55:41 +0000 (03:55 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 15 Apr 2009 03:55:41 +0000 (03:55 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9539

coregrind/m_libcassert.c

index fe4b3bf0ee2007e473b7c99afa41da5557886ad1..e44953cf7fefc7f39eadf91a24e48cd05cc2680c 100644 (file)
@@ -47,8 +47,8 @@
 
 #if defined(VGP_x86_linux)
 #  define GET_REAL_PC_SP_AND_FP(pc, sp, fp)      \
-      asm("call m_libcassert_get_ip;" \
-          "m_libcassert_get_ip: popl %0;" \
+      asm("call 0f;" \
+          "0: popl %0;" \
           "movl %%esp, %1;" \
           "movl %%ebp, %2;" \
           : "=r" (pc),\