head 1.7; access; symbols pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.6 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.4.0.6 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.2 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.3.0.8 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.6 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.4 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.2 pkgsrc-2018Q3-base:1.3 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2021.03.08.08.08.43; author jaapb; state dead; branches; next 1.6; commitid EHtGKyUDQZH1OtKC; 1.6 date 2020.12.09.10.33.04; author jaapb; state Exp; branches; next 1.5; commitid p548k0rEUZFfB2zC; 1.5 date 2020.01.14.19.53.35; author jaapb; state Exp; branches; next 1.4; commitid kJPPxd3cGjFnaHSB; 1.4 date 2019.08.24.10.54.23; author jaapb; state Exp; branches; next 1.3; commitid bwKhQOOrcEKUKgAB; 1.3 date 2018.07.18.00.09.12; author joerg; state Exp; branches; next 1.2; commitid oJk7X8gxSueW8yKA; 1.2 date 2012.03.04.09.06.46; author asau; state dead; branches; next 1.1; 1.1 date 2011.08.15.21.19.33; author wiz; state Exp; branches; next ; desc @@ 1.7 log @Updated lang/ocaml to version 4.11.2. This is a bugfix release from 4.11.1. The amd64 runtime patches have been removed since they seem to have been incorporated by upstream. @ text @$NetBSD: patch-asmcomp_amd64_emit.mlp,v 1.6 2020/12/09 10:33:04 jaapb Exp $ Fix attributes and entry size or the .rodata mergable constant section --- asmcomp/amd64/emit.mlp.orig 2018-07-17 21:17:05.536787953 +0000 +++ asmcomp/amd64/emit.mlp @@@@ -986,7 +986,7 @@@@ let begin_assembly() = | S_macosx -> D.section ["__TEXT";"__literal16"] None ["16byte_literals"] | S_mingw64 | S_cygwin -> D.section [".rdata"] (Some "dr") [] | S_win64 -> D.data () - | _ -> D.section [".rodata.cst8"] (Some "a") ["@@progbits"] + | _ -> D.section [".rodata.cst8"] (Some "aM") ["@@progbits,8"] end; D.align 16; _label (emit_symbol "caml_negf_mask"); @@@@ -1046,7 +1046,7 @@@@ let end_assembly() = | S_macosx -> D.section ["__TEXT";"__literal8"] None ["8byte_literals"] | S_mingw64 | S_cygwin -> D.section [".rdata"] (Some "dr") [] | S_win64 -> D.data () - | _ -> D.section [".rodata.cst8"] (Some "a") ["@@progbits"] + | _ -> D.section [".rodata.cst8"] (Some "aM") ["@@progbits,8"] end; List.iter (fun (cst,lbl) -> emit_float_constant cst lbl) !float_constants end; @ 1.6 log @Updated lang/ocaml to 4.11.1. Patches for solaris and friends are reinstated (thanks jperkin@@) Also thanks to he@@ for testing on powerpc and arm Highlights for 4.10.0: * A new best-fit allocator for the major heap which reducing both GC cost and memory usage. * Immutable strings are now enforced at configuration time * User-defined indexing operators for multidimensional arrays * Miscellaneous improvements to the manual * A more precise exhaustiveness check for GADTs * Many bug fixes Highlights for 4.11.0: * Statmemprof: a new statistical memory profiler * A new instrumented runtime that logs runtime statistics in a standard format * A native backend for the RISC-V architecture * Improved backtraces that refer to function names * Suppport for recursive and yet unboxed types * A quoted extension syntax for ppxs. * Many quality of life improvements * Many bug fixes. 4.11.1 is a bugfix release. Full details in the CHANGELOG included with the distribution. @ text @d1 1 a1 1 $NetBSD: patch-asmcomp_amd64_emit.mlp,v 1.3 2018/07/18 00:09:12 joerg Exp $ @ 1.5 log @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. @ text @@ 1.4 log @Updated lang/ocaml to 4.08.1. 4.08.1 is a bugfix release, fixing compilation failures in presence of the -pack option, and dynlinking failures. Highlights in 4.08.0 are: * Binding operators (let*, let+, and*, etc). They can be used to streamline monadic code. * open now applies to arbitrary module expression in structures and to applicative paths in signatures. * A new notion of (user-defined) "alerts" generalizes the deprecated warning. * New modules in the standard library: Fun, Bool, Int, Option, Result. * A significant number of new functions in Float, including FMA support, and a new Float.Array submodule. * Source highlighting for errors and warnings in batch mode. * Many error messages were improved. * Improved AFL instrumentation for objects and lazy values. @ text @d3 2 a4 1 Fix attributes and entry size for the .rodata mergable constant section @ 1.3 log @Fix attributes and entry size for the .rodata mergable constant section. @ text @d1 1 a1 1 $NetBSD$ d3 1 @ 1.2 log @Update to O'Caml 3.12.1 Changes in Objective Caml 3.12.1: Features: - added '-ml-synonym' and '-mli-synonym' options to ocamldep - added '-ocamldoc' option to ocamlbuild - added possibility to add options to ocamlbuild - added access to current camlp4 parsers and printers - improved instruction selection for float operations on amd64 - stdlib: added a 'usage_string' function to Arg - allow with constraints to add a type equation to a datatype definition - ocamldoc: allow to merge '@@before' tags like other ones - ocamlbuild: allow dependency on file "_oasis" Other changes: - Changed default minor heap size from 32k to 256k words. - Added new operation 'compare_ext' to custom blocks, called when comparing a custom block value with an unboxed integer. Multiple bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-asmcomp_amd64_emit.mlp,v 1.1 2011/08/15 21:19:33 wiz Exp $ d3 1 a3 4 Fix build with binutils-2.21. http://caml.inria.fr/mantis/view.php?id=5237 --- asmcomp/amd64/emit.mlp.orig 2010-06-02 08:55:35 +0000 d5 18 a22 25 @@@@ -688,17 +688,18 @@@@ let fundecl fundecl = emit_all true fundecl.fun_body; List.iter emit_call_gc !call_gc_sites; emit_call_bound_errors (); + begin match Config.system with + "linux" | "gnu" -> + ` .type {emit_symbol fundecl.fun_name},@@function\n`; + ` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` + | _ -> () + end; if !float_constants <> [] then begin if macosx then ` .literal8\n` else ` .section .rodata.cst8,\"a\",@@progbits\n`; List.iter emit_float_constant !float_constants - end; - match Config.system with - "linux" | "gnu" -> - ` .type {emit_symbol fundecl.fun_name},@@function\n`; - ` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` - | _ -> () + end (* Emission of data *) @ 1.1 log @Fix build with binutils-2.21. From Florian Walpen in PR 45246. @ text @d1 1 a1 1 $NetBSD$ @