L_ENTRY.AWK revision 1.1
1#	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
2#	M68000 Hi-Performance Microprocessor Division
3#	M68040 Software Package 
4#
5#	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
6#	All rights reserved.
7#
8#	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
9#	To the maximum extent permitted by applicable law,
10#	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
11#	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
12#	PARTICULAR PURPOSE and any warranty against infringement with
13#	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
14#	and any accompanying written materials. 
15#
16#	To the maximum extent permitted by applicable law,
17#	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
18#	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
19#	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
20#	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
21#	SOFTWARE.  Motorola assumes no responsibility for the maintenance
22#	and support of the SOFTWARE.  
23#
24#	You are hereby granted a copyright license to use, modify, and
25#	distribute the SOFTWARE so long as this entire notice is retained
26#	without alteration in any modified and/or redistributed versions,
27#	and that such modified versions are clearly identified as such.
28#	No licenses are granted by implication, estoppel or otherwise
29#	under any patents or trademarks of Motorola, Inc.
30
31#	L_ENTRY.AWK 1.1 3/27/91
32
33BEGIN{
34	print "echo \"	section 8\""
35	print "echo \"	include	l_fpsp.h\""
36	print "echo \"\""
37	print "echo \"	xref	tag\""
38	print "echo \"	xref	szero\""
39	print "echo \"	xref	sinf\""
40	print "echo \"	xref	sopr_inf\""
41	print "echo \"	xref	sone\""
42	print "echo \"	xref	spi_2\""
43	print "echo \"	xref	szr_inf\""
44	print "echo \"	xref	src_nan\""
45	print "echo \"	xref	t_operr\""
46	print "echo \"	xref	t_dz2\""
47	print "echo \"	xref	snzrinx\""
48	print "echo \"	xref	ld_pone\""
49	print "echo \"	xref	ld_pinf\""
50	print "echo \"	xref	ld_ppi2\""
51	print "echo \"	xref	ssincosz\""
52	print "echo \"	xref	ssincosi\""
53	print "echo \"	xref	ssincosnan\""
54	print "echo \"	xref	setoxm1i\""
55	utmp = 100
56	}
57
58$4=="MONADIC"{
59	printf "sed 's/_OPs_/" $1 "/g' MONADIC." SYS " | "
60	printf "sed 's/_OPd_/" $2 "/g' | "
61	printf "sed 's/_OPx_/" $3 "/g' | "
62	printf "sed 's/_OPr_/" $5 "/g' | "
63	printf "sed 's/_OPz_/" $6 "/g' | "
64	printf "sed 's/_OPi_/" $7 "/g' | "
65	printf "sed 's/_OPn_/" $8 "/g' | "
66	printf "sed 's/_OPm_/" $9 "/g' | "
67	utmp += 1
68	printf "sed 's/_TMP_/" PREFIX utmp "/g'\n "
69	}
70
71$4=="DYADIC"{
72	printf "sed 's/_OPs_/" $1 "/g' DYADIC." SYS " | "
73	printf "sed 's/_OPd_/" $2 "/g' | "
74	printf "sed 's/_OPx_/" $3 "/g' | "
75	printf "sed 's/_OPa_/" $5 "/g' | "
76	utmp += 1
77	printf "sed 's/_TMP_/" PREFIX utmp "/g'\n"
78	}
79
80END{
81	print "echo \"	end\""
82	}
83