From: Nicholas Nethercote Date: Wed, 15 Apr 2009 03:55:41 +0000 (+0000) Subject: Avoid non-local asm labels. Fixes bug #189054. X-Git-Tag: svn/VALGRIND_3_5_0~818 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28b7647fc0915b36f494dce12760ff0cb3646beb;p=thirdparty%2Fvalgrind.git Avoid non-local asm labels. Fixes bug #189054. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9539 --- diff --git a/coregrind/m_libcassert.c b/coregrind/m_libcassert.c index fe4b3bf0ee..e44953cf7f 100644 --- a/coregrind/m_libcassert.c +++ b/coregrind/m_libcassert.c @@ -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),\