$NetBSD: patch-al,v 1.2 2003/07/10 12:28:55 jtb Exp $

--- asmrun/i386.S.orig
+++ asmrun/i386.S
@@ -53,10 +53,10 @@
 #elif defined(SYS_bsd_elf)
 #define PROFILE_CAML \
         pushl %ebp; movl %esp, %ebp; pushl %eax; pushl %ecx; pushl %edx; \
-        call .mcount; \
+        call __mcount; \
         popl %edx; popl %ecx; popl %eax; popl %ebp
 #define PROFILE_C \
-        pushl %ebp; movl %esp, %ebp; call .mcount; popl %ebp
+        pushl %ebp; movl %esp, %ebp; call __mcount; popl %ebp
 #endif
 #else
 #define PROFILE_CAML
