.section .rodata rather than .rdata on alpha; suggested by art@
This commit is contained in:
parent
74973975b1
commit
85273af281
14
lang/ocaml/patches/patch-asmcomp_alpha_emit_mlp
Normal file
14
lang/ocaml/patches/patch-asmcomp_alpha_emit_mlp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-asmcomp_alpha_emit_mlp,v 1.1 2002/09/11 04:41:40 pvalchev Exp $
|
||||
--- asmcomp/alpha/emit.mlp.orig Tue Sep 10 21:01:03 2002
|
||||
+++ asmcomp/alpha/emit.mlp Tue Sep 10 21:01:08 2002
|
||||
@@ -280,8 +280,8 @@ let emit_call_gc gc =
|
||||
|
||||
let rdata_section =
|
||||
match Config.system with
|
||||
- "digital" | "openbsd" -> ".rdata"
|
||||
- | "linux" | "netbsd" | "freebsd" -> ".section .rodata"
|
||||
+ "digital" -> ".rdata"
|
||||
+ | "linux" | "openbsd" | "netbsd" | "freebsd" -> ".section .rodata"
|
||||
| _ -> assert false
|
||||
|
||||
(* Names of various instructions *)
|
12
lang/ocaml/patches/patch-asmrun_alpha_S
Normal file
12
lang/ocaml/patches/patch-asmrun_alpha_S
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-asmrun_alpha_S,v 1.1 2002/09/11 04:41:40 pvalchev Exp $
|
||||
--- asmrun/alpha.S.orig Tue Sep 10 21:01:35 2002
|
||||
+++ asmrun/alpha.S Tue Sep 10 21:01:53 2002
|
||||
@@ -426,7 +426,7 @@ $111: ldgp $gp, 0($27)
|
||||
br caml_c_call /* never returns */
|
||||
.end caml_array_bound_error
|
||||
|
||||
-#if defined(SYS_digital) || defined(SYS_openbsd)
|
||||
+#if defined(SYS_digital)
|
||||
.rdata
|
||||
#else
|
||||
.section .rodata
|
Loading…
Reference in New Issue
Block a user