]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add .type and .size directives for VG_(run_innerloop) and
authorTom Hughes <tom@compton.nu>
Mon, 1 May 2006 09:28:39 +0000 (09:28 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 1 May 2006 09:28:39 +0000 (09:28 +0000)
VG_(run_a_noredir_translation) on all platforms where they are
missing.

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

coregrind/m_dispatch/dispatch-amd64-linux.S
coregrind/m_dispatch/dispatch-ppc32-linux.S
coregrind/m_dispatch/dispatch-ppc64-linux.S
coregrind/m_dispatch/dispatch-x86-linux.S

index 64a35000aa6e22f3d3012f2f0cfca4362a24ea1a..f9d0757ad6443cd8d71c1ae5104fc64269d22288 100644 (file)
@@ -52,6 +52,7 @@ UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling );
 
 .text
 .globl VG_(run_innerloop)
+.type  VG_(run_innerloop), @function
 VG_(run_innerloop):
        /* %rdi holds guest_state */
        /* %rsi holds do_profiling */
@@ -273,6 +274,7 @@ run_innerloop_exit_REALLY:
        popq    %rcx
        popq    %rbx
        ret     
+.size VG_(run_innerloop), .-VG_(run_innerloop)
 
        
 /*------------------------------------------------------------*/
@@ -295,6 +297,7 @@ void VG_(run_a_noredir_translation) ( UWord* argblock );
 */
 .align 16
 .global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
 VG_(run_a_noredir_translation):
        /* Save callee-saves regs */
        pushq %rbx
@@ -324,6 +327,7 @@ VG_(run_a_noredir_translation__return_point):
        popq  %rbp
        popq  %rbx
        ret
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
 
 /* Let the linker know we don't need an executable stack */
 .section .note.GNU-stack,"",@progbits
index c4379bbc3ce472ba255a9f4ceca34cb847abdf00..4752498c688947365a57b3a0a494a8e27ada2ad1 100644 (file)
@@ -50,6 +50,7 @@ UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling );
 */
 .text
 .globl  VG_(run_innerloop)
+.type  VG_(run_innerloop), @function
 VG_(run_innerloop):
        /* r3 holds guest_state */
        /* r4 holds do_profiling */
@@ -538,6 +539,7 @@ LafterVMX9:
         mtlr    0
         addi    1,1,496   /* stack_size */
         blr
+.size VG_(run_innerloop), .-VG_(run_innerloop)
 
 
 /*------------------------------------------------------------*/
@@ -559,6 +561,7 @@ void VG_(run_a_noredir_translation) ( UWord* argblock );
       3: output: guest state pointer afterwards (== thread return code)
 */
 .global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
 VG_(run_a_noredir_translation):
        /* save callee-save int regs, & lr */
        stwu 1,-256(1)
@@ -615,6 +618,7 @@ VG_(run_a_noredir_translation):
        lwz  31,196(1)
        addi 1,1,256
        blr
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
 
 
 /* Let the linker know we don't need an executable stack */
index 28629145e5199aa874d58cf0a83618effdf4017e..6256e484bebe8289578484b609cb866125a65351 100644 (file)
@@ -312,6 +312,7 @@ VG_(run_innerloop__dispatch_unprofiled):
        /* start over */
        b       .VG_(run_innerloop__dispatch_unprofiled)
        /*NOTREACHED*/
+        .size VG_(run_innerloop), .-VG_(run_innerloop)
 
 
 /*----------------------------------------------------*/
@@ -389,6 +390,7 @@ VG_(run_innerloop__dispatch_profiled):
        /* start over */
        b       .VG_(run_innerloop__dispatch_profiled)
        /*NOTREACHED*/
+        .size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
 
 
 /*----------------------------------------------------*/
index 66d44fcf56af7dc7845ddad80f59d12959fdab07..2392613133e606637cf826874cf20a50c9c6a3f7 100644 (file)
@@ -275,6 +275,7 @@ void VG_(run_a_noredir_translation) ( UWord* argblock );
 */
 .align 16
 .global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
 VG_(run_a_noredir_translation):
        /* Save callee-saves regs */
        pushl %esi
@@ -300,6 +301,7 @@ VG_(run_a_noredir_translation__return_point):
        popl %edi
        popl %esi
        ret
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
 
                        
 /* Let the linker know we don't need an executable stack */