Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2008 03:06:25 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 143154 for review
Message-ID:  <200806090306.m5936Pgt051031@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143154

Change 143154 by jb@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),@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; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806090306.m5936Pgt051031>