xref: /original-bsd/lib/libm/tahoe/mcount.sed (revision a141c157)
1#
2# Copyright (c) 1985 Regents of the University of California.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are permitted
6# provided that this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12# All recipients should regard themselves as participants in an ongoing
13# research project and hence should feel obligated to report their
14# experiences (good or bad) with these elementary function codes, using
15# the sendbug(8) program, to the authors.
16#
17#	@(#)mcount.sed	5.3 (Berkeley) 04/29/88
18#
19
20s/.word	0x.*$/&\
21	.data\
22	.align 2\
239:	.long 0\
24	.text\
25	pushal	9b\
26	callf	\$8,mcount/
27