diff options
Diffstat (limited to 'lang/ocaml/patches/patch-ai')
-rw-r--r-- | lang/ocaml/patches/patch-ai | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-ai b/lang/ocaml/patches/patch-ai new file mode 100644 index 00000000000..bfc6c21d185 --- /dev/null +++ b/lang/ocaml/patches/patch-ai @@ -0,0 +1,22 @@ +$NetBSD: patch-ai,v 1.1 2003/06/29 23:04:19 jtb Exp $ + +--- asmcomp/power/proc.ml.orig ++++ asmcomp/power/proc.ml +@@ -190,7 +190,7 @@ + let loc_external_arguments = + match Config.system with + "aix" | "rhapsody" -> poweropen_external_conventions 0 7 100 112 +- | "elf" -> calling_conventions 0 7 100 107 outgoing 8 ++ | "elf" | "bsd" -> calling_conventions 0 7 100 107 outgoing 8 + | _ -> assert false + + let extcall_use_push = false +@@ -244,7 +244,7 @@ + Ccomp.command ("as -u -m " ^ proc ^ " -o " ^ outfile ^ " " ^ infile) + | "elf" -> + Ccomp.command ("as -u -m ppc -o " ^ outfile ^ " " ^ infile) +- | "rhapsody" -> ++ | "rhapsody" | "bsd" -> + Ccomp.command ("as -o " ^ outfile ^ " " ^ infile) + | _ -> assert false + |