]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make VG_(run_innerloop) visible for outer Valgrinds
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Mon, 1 May 2006 02:12:58 +0000 (02:12 +0000)
committerJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Mon, 1 May 2006 02:12:58 +0000 (02:12 +0000)
with self hosting. Without this, the symbol has
size 0 and type NOT, and is ignored by the symbol loader.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5872

coregrind/m_dispatch/dispatch-x86-linux.S

index d2f61f89aaa9667a2e99597a3edb3bc552ceb830..66d44fcf56af7dc7845ddad80f59d12959fdab07 100644 (file)
@@ -51,6 +51,7 @@ UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling );
 */
 .text
 .globl VG_(run_innerloop)
+.type  VG_(run_innerloop), @function
 VG_(run_innerloop):
        /* 4(%esp) holds guest_state */
        /* 8(%esp) holds do_profiling */
@@ -251,6 +252,7 @@ run_innerloop_exit_REALLY:
        popl    %ecx
        popl    %ebx
        ret     
+.size VG_(run_innerloop), .-VG_(run_innerloop)
 
 
 /*------------------------------------------------------------*/