PERFORCE change 96264 for review

John Birrell jb at FreeBSD.org
Thu Apr 27 22:06:46 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96264

Change 96264 by jb at jb_freebsd2 on 2006/04/27 22:06:05

	Add a macro to set the function .size
	
	We need to start using this in _*every*_ ASM function. DTrace
	needs that info.

Affected files ...

.. //depot/projects/dtrace/src/sys/i386/include/asm.h#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/i386/include/asm.h#2 (text+ko) ====

@@ -88,6 +88,8 @@
 #define	ENTRY(x)	_ENTRY(x)
 #endif
 
+#define	SET_SIZE(x)	.size	x, [.-x]
+
 #define RCSID(x)	.text; .asciz x
 
 #undef __FBSDID


More information about the p4-projects mailing list