xref: /original-bsd/usr.bin/tn3270/ctlr/defs.h (revision 71b05459)
1c243fc61Sminshall /*
250649483Sbostic  * Copyright (c) 1988 Regents of the University of California.
350649483Sbostic  * All rights reserved.
450649483Sbostic  *
550649483Sbostic  * Redistribution and use in source and binary forms are permitted
630b9a773Sbostic  * provided that the above copyright notice and this paragraph are
730b9a773Sbostic  * duplicated in all such forms and that any documentation,
830b9a773Sbostic  * advertising materials, and other materials related to such
930b9a773Sbostic  * distribution and use acknowledge that the software was developed
1030b9a773Sbostic  * by the University of California, Berkeley.  The name of the
1130b9a773Sbostic  * University may not be used to endorse or promote products derived
1230b9a773Sbostic  * from this software without specific prior written permission.
1330b9a773Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1430b9a773Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1530b9a773Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1650649483Sbostic  *
17*71b05459Sminshall  *	@(#)defs.h	4.1 (Berkeley) 12/04/88
18c243fc61Sminshall  */
19c243fc61Sminshall 
20c243fc61Sminshall #ifdef PROF
21c243fc61Sminshall #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0; \
22c243fc61Sminshall 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
23c243fc61Sminshall #define	ASENTRY(x)	.globl x; .align 2; x: .word 0; \
24c243fc61Sminshall 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
25c243fc61Sminshall #else
26c243fc61Sminshall #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0
27c243fc61Sminshall #define	ASENTRY(x)	.globl x; .align 2; x: .word 0
28c243fc61Sminshall #endif
29