]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
ppc32 only: give debug info names for a couple of fns to make
authorJulian Seward <jseward@acm.org>
Wed, 12 Oct 2005 10:00:56 +0000 (10:00 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 12 Oct 2005 10:00:56 +0000 (10:00 +0000)
cachegrind profiles more understandable.

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

coregrind/m_trampoline.S

index 2d0ceb64a1c6fa32d28010cf3868c42aa541d7a2..3477a54e176840c81af1c652bc7ecaa160273fa1 100644 (file)
@@ -155,6 +155,7 @@ VG_(trampoline_stuff_start):
    simple strlen implementation (written in C and compiled by gcc.)
 */
 .global VG_(ppc32_linux_REDIR_FOR_strlen)
+.type   VG_(ppc32_linux_REDIR_FOR_strlen), @function
 VG_(ppc32_linux_REDIR_FOR_strlen):
         lbz 4,0(3)
         li 9,0
@@ -168,9 +169,11 @@ VG_(ppc32_linux_REDIR_FOR_strlen):
 .L18:
         mr 3,9
         blr
+.size VG_(ppc32_linux_REDIR_FOR_strlen), .-VG_(ppc32_linux_REDIR_FOR_strlen)
 
 /* Ditto strcmp */
 .global VG_(ppc32_linux_REDIR_FOR_strcmp)
+.type   VG_(ppc32_linux_REDIR_FOR_strcmp), @function
 VG_(ppc32_linux_REDIR_FOR_strcmp):
 .L20:
         lbz 0,0(3)
@@ -204,7 +207,7 @@ VG_(ppc32_linux_REDIR_FOR_strcmp):
 .L22:
         mr 3,11
         blr
-
+.size VG_(ppc32_linux_REDIR_FOR_strcmp), .-VG_(ppc32_linux_REDIR_FOR_strcmp)
 
 .global VG_(trampoline_stuff_end)
 VG_(trampoline_stuff_end):