[BACK]Return to profile.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/include/profile.h between version 1.14.8.2 and 1.15

version 1.14.8.2, 2002/01/08 00:25:33 version 1.15, 2001/08/23 06:17:00
Line 58  mcount()        \
Line 58  mcount()        \
          *                                                              \           *                                                              \
          * selfpc = pc pushed by mcount call                            \           * selfpc = pc pushed by mcount call                            \
          */                                                             \           */                                                             \
         __asm__ __volatile__("movl 4(%%ebp),%0" : "=r" (selfpc));       \          __asm__("movl 4(%%ebp),%0" : "=r" (selfpc));                    \
         /*                                                              \          /*                                                              \
          * frompcindex = pc pushed by call into self.                   \           * frompcindex = pc pushed by call into self.                   \
          */                                                             \           */                                                             \
         __asm__ __volatile__("movl (%%ebp),%0;movl 4(%0),%0"            \          __asm__("movl (%%ebp),%0;movl 4(%0),%0" : "=r" (frompcindex));  \
             : "=r" (frompcindex));                                      \  
         _mcount((u_long)frompcindex, (u_long)selfpc);                   \          _mcount((u_long)frompcindex, (u_long)selfpc);                   \
 }  }
   

Legend:
Removed from v.1.14.8.2  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>