PERFORCE change 143154 for review
John Birrell
jb at FreeBSD.org
Mon Jun 9 03:06:26 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=143154
Change 143154 by jb at freebsd3 on 2008/06/09 03:05:50
Set the function size in the END() macro.
Affected files ...
.. //depot/projects/dtrace6/src/sys/i386/include/asm.h#2 edit
.. //depot/projects/dtrace6/src/sys/i386/include/asmacros.h#2 edit
Differences ...
==== //depot/projects/dtrace6/src/sys/i386/include/asm.h#2 (text+ko) ====
@@ -71,6 +71,7 @@
#define _ENTRY(x) _START_ENTRY; \
.globl CNAME(x); .type CNAME(x), at function; CNAME(x):
+#define END(x) .size x, . - x
#ifdef PROF
#define ALTENTRY(x) _ENTRY(x); \
==== //depot/projects/dtrace6/src/sys/i386/include/asmacros.h#2 (text+ko) ====
@@ -59,6 +59,8 @@
#define NON_GPROF_ENTRY(name) GEN_ENTRY(name)
#define NON_GPROF_RET .byte 0xc3 /* opcode for `ret' */
+#define END(name) .size name, . - name
+
#ifdef LOCORE
#define PCPU(member) %fs:PC_ ## member
#define PCPU_ADDR(member, reg) movl %fs:PC_PRVSPACE,reg; \
More information about the p4-projects
mailing list