date and time created 90/05/17 21:17:07 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 18 May 1990 12:17:07 +0000 (04:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 18 May 1990 12:17:07 +0000 (04:17 -0800)
SCCS-vsn: lib/libm/mc68881/mcount.sed 5.1

usr/src/lib/libm/mc68881/mcount.sed [new file with mode: 0644]

diff --git a/usr/src/lib/libm/mc68881/mcount.sed b/usr/src/lib/libm/mc68881/mcount.sed
new file mode 100644 (file)
index 0000000..7dc04dc
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 1990 The Regents of the University of California.
+# All rights reserved.
+#
+# This code is derived from software contributed to Berkeley by
+# the Systems Programming Group of the University of Utah Computer
+# Science Department.
+#
+# %sccs.include.redist.sh%
+#
+#      @(#)mcount.sed  5.1 (Berkeley) %G%
+#
+
+s/^\(_[a-z_].*\):$/&\
+       .data\
+X\1:\
+       .long   0\
+       .text\
+       movel   #X\1,a0\
+       jsr     mcount/