new template
[unix-history] / usr / src / lib / libcompat / 4.1 / vax / DEFS.h
CommitLineData
586c39b1
DF
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) %G%
7 */
b4d8f9d5
SL
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