2004-04-22 11:18:34 +02:00
|
|
|
$NetBSD: patch-ad,v 1.4 2004/04/22 09:18:36 tron Exp $
|
2003-06-23 22:15:16 +02:00
|
|
|
|
2004-04-22 11:18:34 +02:00
|
|
|
--- asmcomp/power/proc.ml.orig Mon Jul 22 18:37:54 2002
|
|
|
|
+++ asmcomp/power/proc.ml Thu Apr 22 10:34:38 2004
|
|
|
|
@@ -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
|
2003-06-23 22:15:16 +02:00
|
|
|
|