xref: /original-bsd/lib/libcompat/4.1/vax/DEFS.h (revision ec7df300)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)DEFS.h	5.1 (Berkeley) 05/30/85
7  */
8 
9 #ifdef PROF
10 #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0; \
11 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
12 #define	ASENTRY(x)	.globl x; .align 2; x: .word 0; \
13 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
14 #else
15 #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0
16 #define	ASENTRY(x)	.globl x; .align 2; x: .word 0
17 #endif
18