Commit | Line | Data |
---|---|---|
d268a99e WN |
1 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * William Jolitz. | |
7 | * | |
8 | * %sccs.include.redist.c% | |
9 | * | |
10 | * @(#)DEFS.h 5.1 (Berkeley) %G% | |
11 | */ | |
12 | ||
13 | #ifdef PROF | |
14 | #define ENTRY(x) .globl _/**/x; _/**/x: \ | |
15 | .data; 1:; .long 0; .text; lea 1b,%eax ; call mcount | |
16 | #define ASENTRY(x) .globl x; x: \ | |
17 | .data; 1:; .long 0; .text; lea 1b,%eax ; call mcount | |
18 | #else | |
19 | #define ENTRY(x) .globl _/**/x; _/**/x: | |
20 | #define ASENTRY(x) .globl x; x: | |
21 | #endif |