Avoid duplicate definitions of "common" global variables
authorXavier Leroy <xavier.leroy@college-de-france.fr>
Thu, 12 Dec 2019 15:41:17 +0000 (16:41 +0100)
committerStéphane Glondu <glondu@debian.org>
Fri, 24 Jul 2020 14:51:04 +0000 (16:51 +0200)
commitbe3226ab40c585d57afaa37aaec256661612110c
treec77445c5682505079be8e386f90b8b9761509080
parentfc423eaffa74596221d08e5402113728fe1fe4ba
Avoid duplicate definitions of "common" global variables

The variables are caml_debug_info and caml_atom_table.
The multiple definitions look like a cut-and-paste error.
They cause problems with C compilers that don't follow the "common" model.

Bug: https://github.com/ocaml/ocaml/issues/9144
Bug-Debian: https://bugs.debian.org/957623

Gbp-Pq: Name 0007-Avoid-duplicate-definitions-of-common-global-variabl.patch
runtime/backtrace.c
runtime/startup_nat.c