xref: /csrg-svn/usr.bin/tn3270/ctlr/defs.h (revision 36284)
130019Sminshall /*
233816Sbostic  * Copyright (c) 1988 Regents of the University of California.
333816Sbostic  * All rights reserved.
433816Sbostic  *
533816Sbostic  * Redistribution and use in source and binary forms are permitted
634887Sbostic  * provided that the above copyright notice and this paragraph are
734887Sbostic  * duplicated in all such forms and that any documentation,
834887Sbostic  * advertising materials, and other materials related to such
934887Sbostic  * distribution and use acknowledge that the software was developed
1034887Sbostic  * by the University of California, Berkeley.  The name of the
1134887Sbostic  * University may not be used to endorse or promote products derived
1234887Sbostic  * from this software without specific prior written permission.
1334887Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1434887Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1534887Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1633816Sbostic  *
17*36284Sminshall  *	@(#)defs.h	4.1 (Berkeley) 12/04/88
1830019Sminshall  */
1930019Sminshall 
2030019Sminshall #ifdef PROF
2130019Sminshall #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0; \
2230019Sminshall 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
2330019Sminshall #define	ASENTRY(x)	.globl x; .align 2; x: .word 0; \
2430019Sminshall 			.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount
2530019Sminshall #else
2630019Sminshall #define	ENTRY(x)	.globl _/**/x; .align 2; _/**/x: .word 0
2730019Sminshall #define	ASENTRY(x)	.globl x; .align 2; x: .word 0
2830019Sminshall #endif
29