diff options
author | jtb <jtb@pkgsrc.org> | 2003-07-10 12:28:55 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-07-10 12:28:55 +0000 |
commit | 148937e759b310d1d658610d1799b1b4571ecadb (patch) | |
tree | d1bd69731eecc0a822ae1522a17754d07a2ea002 /lang/ocaml/patches | |
parent | 62fb9398c060bdbe94dbeb9426a3591829de1787 (diff) | |
download | pkgsrc-148937e759b310d1d658610d1799b1b4571ecadb.tar.gz |
Missed change of .mcount to __mcount in PROFILE_C.
Diffstat (limited to 'lang/ocaml/patches')
-rw-r--r-- | lang/ocaml/patches/patch-al | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/ocaml/patches/patch-al b/lang/ocaml/patches/patch-al index d47223f5639..55f4ec90911 100644 --- a/lang/ocaml/patches/patch-al +++ b/lang/ocaml/patches/patch-al @@ -1,8 +1,8 @@ -$NetBSD: patch-al,v 1.1 2003/07/10 07:44:02 jtb Exp $ +$NetBSD: patch-al,v 1.2 2003/07/10 12:28:55 jtb Exp $ --- asmrun/i386.S.orig +++ asmrun/i386.S -@@ -53,7 +53,7 @@ +@@ -53,10 +53,10 @@ #elif defined(SYS_bsd_elf) #define PROFILE_CAML \ pushl %ebp; movl %esp, %ebp; pushl %eax; pushl %ecx; pushl %edx; \ @@ -10,4 +10,8 @@ $NetBSD: patch-al,v 1.1 2003/07/10 07:44:02 jtb Exp $ + 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 ++ pushl %ebp; movl %esp, %ebp; call __mcount; popl %ebp + #endif + #else + #define PROFILE_CAML |