.section .rodata rather than .rdata on alpha; suggested by art@

This commit is contained in:
pvalchev 2002-09-11 04:41:40 +00:00
parent 74973975b1
commit 85273af281
2 changed files with 26 additions and 0 deletions

View 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 *)

View 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