L_ENTRY.AWK revision 1.1
11.1Smycroft#	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
21.1Smycroft#	M68000 Hi-Performance Microprocessor Division
31.1Smycroft#	M68040 Software Package 
41.1Smycroft#
51.1Smycroft#	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
61.1Smycroft#	All rights reserved.
71.1Smycroft#
81.1Smycroft#	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
91.1Smycroft#	To the maximum extent permitted by applicable law,
101.1Smycroft#	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
111.1Smycroft#	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
121.1Smycroft#	PARTICULAR PURPOSE and any warranty against infringement with
131.1Smycroft#	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
141.1Smycroft#	and any accompanying written materials. 
151.1Smycroft#
161.1Smycroft#	To the maximum extent permitted by applicable law,
171.1Smycroft#	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
181.1Smycroft#	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
191.1Smycroft#	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
201.1Smycroft#	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
211.1Smycroft#	SOFTWARE.  Motorola assumes no responsibility for the maintenance
221.1Smycroft#	and support of the SOFTWARE.  
231.1Smycroft#
241.1Smycroft#	You are hereby granted a copyright license to use, modify, and
251.1Smycroft#	distribute the SOFTWARE so long as this entire notice is retained
261.1Smycroft#	without alteration in any modified and/or redistributed versions,
271.1Smycroft#	and that such modified versions are clearly identified as such.
281.1Smycroft#	No licenses are granted by implication, estoppel or otherwise
291.1Smycroft#	under any patents or trademarks of Motorola, Inc.
301.1Smycroft
311.1Smycroft#	L_ENTRY.AWK 1.1 3/27/91
321.1Smycroft
331.1SmycroftBEGIN{
341.1Smycroft	print "echo \"	section 8\""
351.1Smycroft	print "echo \"	include	l_fpsp.h\""
361.1Smycroft	print "echo \"\""
371.1Smycroft	print "echo \"	xref	tag\""
381.1Smycroft	print "echo \"	xref	szero\""
391.1Smycroft	print "echo \"	xref	sinf\""
401.1Smycroft	print "echo \"	xref	sopr_inf\""
411.1Smycroft	print "echo \"	xref	sone\""
421.1Smycroft	print "echo \"	xref	spi_2\""
431.1Smycroft	print "echo \"	xref	szr_inf\""
441.1Smycroft	print "echo \"	xref	src_nan\""
451.1Smycroft	print "echo \"	xref	t_operr\""
461.1Smycroft	print "echo \"	xref	t_dz2\""
471.1Smycroft	print "echo \"	xref	snzrinx\""
481.1Smycroft	print "echo \"	xref	ld_pone\""
491.1Smycroft	print "echo \"	xref	ld_pinf\""
501.1Smycroft	print "echo \"	xref	ld_ppi2\""
511.1Smycroft	print "echo \"	xref	ssincosz\""
521.1Smycroft	print "echo \"	xref	ssincosi\""
531.1Smycroft	print "echo \"	xref	ssincosnan\""
541.1Smycroft	print "echo \"	xref	setoxm1i\""
551.1Smycroft	utmp = 100
561.1Smycroft	}
571.1Smycroft
581.1Smycroft$4=="MONADIC"{
591.1Smycroft	printf "sed 's/_OPs_/" $1 "/g' MONADIC." SYS " | "
601.1Smycroft	printf "sed 's/_OPd_/" $2 "/g' | "
611.1Smycroft	printf "sed 's/_OPx_/" $3 "/g' | "
621.1Smycroft	printf "sed 's/_OPr_/" $5 "/g' | "
631.1Smycroft	printf "sed 's/_OPz_/" $6 "/g' | "
641.1Smycroft	printf "sed 's/_OPi_/" $7 "/g' | "
651.1Smycroft	printf "sed 's/_OPn_/" $8 "/g' | "
661.1Smycroft	printf "sed 's/_OPm_/" $9 "/g' | "
671.1Smycroft	utmp += 1
681.1Smycroft	printf "sed 's/_TMP_/" PREFIX utmp "/g'\n "
691.1Smycroft	}
701.1Smycroft
711.1Smycroft$4=="DYADIC"{
721.1Smycroft	printf "sed 's/_OPs_/" $1 "/g' DYADIC." SYS " | "
731.1Smycroft	printf "sed 's/_OPd_/" $2 "/g' | "
741.1Smycroft	printf "sed 's/_OPx_/" $3 "/g' | "
751.1Smycroft	printf "sed 's/_OPa_/" $5 "/g' | "
761.1Smycroft	utmp += 1
771.1Smycroft	printf "sed 's/_TMP_/" PREFIX utmp "/g'\n"
781.1Smycroft	}
791.1Smycroft
801.1SmycroftEND{
811.1Smycroft	print "echo \"	end\""
821.1Smycroft	}
83