Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 22:06:45 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96264 for review
Message-ID:  <200604272206.k3RM6jL9034576@repoman.freebsd.org>

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

Change 96264 by jb@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



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