summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-asmrun_amd64.S
blob: 2fc9d932ee6ce7679c49c0d5d2e17891bd057a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-asmrun_amd64.S,v 1.3 2020/01/14 19:53:35 jaapb Exp $

Fix attributes and entry size for the .rodata mergable constant section

--- runtime/amd64.S.orig	2018-07-17 21:24:20.027817665 +0000
+++ runtime/amd64.S
@@ -724,7 +724,7 @@ G(caml_system__spacetime_shapes):
 #elif defined(SYS_mingw64) || defined(SYS_cygwin)
         .section .rdata,"dr"
 #else
-        .section    .rodata.cst8,"a",@progbits
+        .section    .rodata.cst8,"aM",@progbits,8
 #endif
         .globl  G(caml_negf_mask)
         .align  SIXTEEN_ALIGN