]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gcc-4.3 compile fixes.
authorJulian Seward <jseward@acm.org>
Fri, 24 Aug 2007 20:37:09 +0000 (20:37 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 24 Aug 2007 20:37:09 +0000 (20:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6777

coregrind/m_dispatch/dispatch-x86-linux.S
coregrind/m_syswrap/syscall-x86-linux.S
coregrind/m_trampoline.S

index 5cf10c493d138b925726c1647b75f83a12f7c623..14895b3f7ca3ef1fe9713c8fcbf7928f507a22b2 100644 (file)
@@ -121,7 +121,7 @@ VG_(run_innerloop__dispatch_unprofiled):
 
        /* try a fast lookup in the translation cache */
        movl    %eax, %ebx                      /* next guest addr */
-       andl    $VG_TT_FAST_MASK, %ebx          /* entry# */
+       andl    $ VG_TT_FAST_MASK, %ebx         /* entry# */
        movl    0+VG_(tt_fast)(,%ebx,8), %esi   /* .guest */
        movl    4+VG_(tt_fast)(,%ebx,8), %edi   /* .host */
        cmpl    %eax, %esi
@@ -157,7 +157,7 @@ VG_(run_innerloop__dispatch_profiled):
 
        /* try a fast lookup in the translation cache */
        movl    %eax, %ebx                      /* next guest addr */
-       andl    $VG_TT_FAST_MASK, %ebx          /* entry# */
+       andl    $ VG_TT_FAST_MASK, %ebx         /* entry# */
        movl    0+VG_(tt_fast)(,%ebx,8), %esi   /* .guest */
        movl    4+VG_(tt_fast)(,%ebx,8), %edi   /* .host */
        cmpl    %eax, %esi
@@ -199,7 +199,7 @@ counter_is_zero:
        /* %EIP is up to date here */
        /* back out decrement of the dispatch counter */
        addl    $1, VG_(dispatch_ctr)
-       movl    $VG_TRC_INNER_COUNTERZERO, %eax
+       movl    $ VG_TRC_INNER_COUNTERZERO, %eax
        jmp     run_innerloop_exit
        /*NOTREACHED*/
 
@@ -207,7 +207,7 @@ fast_lookup_failed:
        /* %EIP is up to date here */
        /* back out decrement of the dispatch counter */
        addl    $1, VG_(dispatch_ctr)
-       movl    $VG_TRC_INNER_FASTMISS, %eax
+       movl    $ VG_TRC_INNER_FASTMISS, %eax
        jmp     run_innerloop_exit
        /*NOTREACHED*/
 
@@ -240,7 +240,7 @@ L2: /* otherwise we're OK */
        jmp     run_innerloop_exit_REALLY
 
 invariant_violation:
-       movl    $VG_TRC_INVARIANT_FAILED, %eax
+       movl    $ VG_TRC_INVARIANT_FAILED, %eax
        jmp     run_innerloop_exit_REALLY
 
 run_innerloop_exit_REALLY:
index bcfaf39a4034f4ba3c9fcbaece7ffde610187be3..1c3f47076f4e1c543ba7ec8ad0d2106a978bbaeb 100644 (file)
@@ -88,8 +88,8 @@ ML_(do_syscall_for_client_WRK):
           If eip is in the range [1,2), the syscall hasn't been started yet */
 
        /* Set the signal mask which should be current during the syscall. */
-       movl    $__NR_rt_sigprocmask, %eax
-       movl    $VKI_SIG_SETMASK, %ebx
+       movl    $ __NR_rt_sigprocmask, %eax
+       movl    $ VKI_SIG_SETMASK, %ebx
        movl    8+FSZ(%esp), %ecx
        movl    12+FSZ(%esp), %edx
        movl    16+FSZ(%esp), %esi
@@ -117,8 +117,8 @@ ML_(do_syscall_for_client_WRK):
 
 4:     /* Re-block signals.  If eip is in [4,5), then the syscall is complete and 
           we needn't worry about it. */
-       movl    $__NR_rt_sigprocmask, %eax
-       movl    $VKI_SIG_SETMASK, %ebx
+       movl    $ __NR_rt_sigprocmask, %eax
+       movl    $ VKI_SIG_SETMASK, %ebx
        movl    12+FSZ(%esp), %ecx
        xorl    %edx, %edx
        movl    16+FSZ(%esp), %esi
index 4ae58e15e0180e0ada135b98565a1c4a1fb2c74b..daf25dd73a9c5f4c3ab3df0226ece55d8601218f 100644 (file)
@@ -67,14 +67,14 @@ VG_(x86_linux_SUBST_FOR_sigreturn):
            x86_fallback_frame_state() in
            gcc-4.1.0/gcc/config/i386/linux-unwind.h */
         popl    %eax
-        movl    $__NR_sigreturn, %eax
+        movl    $ __NR_sigreturn, %eax
         int     $0x80
         ud2
 
 .global VG_(x86_linux_SUBST_FOR_rt_sigreturn)
 VG_(x86_linux_SUBST_FOR_rt_sigreturn):
         /* Likewise for rt signal frames */
-        movl    $__NR_rt_sigreturn, %eax
+        movl    $ __NR_rt_sigreturn, %eax
         int     $0x80
         ud2