account for entry mask
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 1 Apr 1983 04:07:44 +0000 (20:07 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 1 Apr 1983 04:07:44 +0000 (20:07 -0800)
SCCS-vsn: usr.bin/gprof/vax.h 1.2

usr/src/usr.bin/gprof/vax.h

index ab005b1..f47d225 100644 (file)
@@ -1,4 +1,4 @@
-    /* sccsid:  @(#)vax.h      1.1 (Berkeley) %G% */
+    /* sccsid:  @(#)vax.h      1.2 (Berkeley) %G% */
 
     /*
      * opcode of the `calls' instruction
 
     /*
      * opcode of the `calls' instruction
@@ -10,6 +10,7 @@
      * (see asgnsamples for use and explanation.)
      */
 #define OFFSET_OF_CODE 2
      * (see asgnsamples for use and explanation.)
      */
 #define OFFSET_OF_CODE 2
+#define        UNITS_TO_CODE   (OFFSET_OF_CODE / sizeof(UNIT))
 
     /*
      * register for pc relative addressing
 
     /*
      * register for pc relative addressing