Skip to content

Commit a336b70

Browse files
committed
flambda-backend: Update magic numbers for 4.14.1-22 (and add tools/bump_magic_numbers.sh)
1 parent a1239f0 commit a336b70

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

boot/ocamlc

-27.5 MB
Binary file not shown.

boot/ocamllex

-2.81 MB
Binary file not shown.

runtime/caml/exec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct exec_trailer {
6060

6161
/* Magic number for this release */
6262

63-
#define EXEC_MAGIC "Caml1999X511"
63+
#define EXEC_MAGIC "Caml1999X512"
6464

6565
#endif /* CAML_INTERNALS */
6666

utils/config.mlp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,28 +99,28 @@ let poll_insertion = %%POLL_INSERTION%%
9999
(* When artifacts are incompatible with upstream OCaml, ocaml-jst uses
100100
magic numbers ending in 5xx. (The AST remains
101101
compatible, so use upstream numbers) *)
102-
let exec_magic_number = "Caml1999X511"
102+
let exec_magic_number = "Caml1999X512"
103103
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
104-
and cmi_magic_number = "Caml1999I512"
105-
and cmo_magic_number = "Caml1999O512"
106-
and cma_magic_number = "Caml1999A512"
104+
and cmi_magic_number = "Caml1999I513"
105+
and cmo_magic_number = "Caml1999O513"
106+
and cma_magic_number = "Caml1999A513"
107107
and cmx_magic_number =
108108
if flambda || flambda2 then
109-
"Caml2021y514"
109+
"Caml2021y515"
110110
else
111-
"Caml2021Y514"
111+
"Caml2021Y515"
112112
and cmxa_magic_number =
113113
if flambda || flambda2 then
114-
"Caml2021z514"
114+
"Caml2021z515"
115115
else
116-
"Caml2021Z514"
116+
"Caml2021Z515"
117117
and ast_impl_magic_number = "Caml1999M031"
118118
and ast_intf_magic_number = "Caml1999N031"
119-
and cmxs_magic_number = "Caml1999D513"
120-
and cmt_magic_number = "Caml1999T512"
121-
and cms_magic_number = "Caml1999S510"
122-
and linear_magic_number = "Caml1999L512"
123-
and cfg_magic_number = "Caml2021G512"
119+
and cmxs_magic_number = "Caml1999D514"
120+
and cmt_magic_number = "Caml1999T513"
121+
and cms_magic_number = "Caml1999S511"
122+
and linear_magic_number = "Caml1999L513"
123+
and cfg_magic_number = "Caml2021G513"
124124

125125
let interface_suffix = ref ".mli"
126126

0 commit comments

Comments
 (0)