xref: /csrg-svn/lib/libcompat/4.1/vax/DEFS.h (revision 21411)
1*21411Sdist /*
2*21411Sdist  * Copyright (c) 1980 Regents of the University of California.
3*21411Sdist  * All rights reserved.  The Berkeley software License Agreement
4*21411Sdist  * specifies the terms and conditions for redistribution.
5*21411Sdist  *
6*21411Sdist  *	@(#)DEFS.h	5.1 (Berkeley) 05/30/85
7*21411Sdist  */
813791Ssam 
913791Ssam #ifdef PROF
1013791Ssam #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0; \
1113791Ssam 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
1213791Ssam #define	ASENTRY(x)	.globl x; .align 2; x: .word 0; \
1313791Ssam 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
1413791Ssam #else
1513791Ssam #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0
1613791Ssam #define	ASENTRY(x)	.globl x; .align 2; x: .word 0
1713791Ssam #endif
18