pkgsrc/lang/ocaml/patches/patch-asmrun_amd64.S
jaapb 65245bda28 Updated lang/ocaml to version 4.09.0.
Highlights of this release are:
* new optimisations, in particular for affine functions in matches;
* the graphics library was moved out of the main distribution;
* the vmthread library was removed;
* support for compiler plugins was removed;
* many bug fixes.

For more details see the Changes file in the distribution.
2020-01-14 19:53:35 +00:00

15 lines
538 B
ArmAsm

$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