Embed bytecode in C object when using -custom
authorStephane Glondu <steph@glondu.net>
Tue, 11 Jul 2017 11:27:34 +0000 (13:27 +0200)
committerRaspbian forward porter <root@raspbian.org>
Sun, 18 Aug 2019 11:58:49 +0000 (12:58 +0100)
commitea2b558e2a9be283636a340fc015dfe819afdf44
tree5c591ee56222bfb70ef4bcb12353ae2d0735971f
parent197a8f7c4bf70f2bc6cef892f753bda89cac99df
Embed bytecode in C object when using -custom

This patch fixes non-strippability of bytecode executables linked with
custom runtime. The new behaviour is enabled when OCAML_CUSTOM_EMBED
is set to "y", or when DEB_HOST_ARCH is non-empty.

Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256900
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627761
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678577
Signed-off-by: Stephane Glondu <steph@glondu.net>
Gbp-Pq: Name 0006-Embed-bytecode-in-C-object-when-using-custom.patch
bytecomp/bytelink.ml
testsuite/tests/basic-manyargs/Makefile
testsuite/tests/callback/Makefile
testsuite/tests/embedded/Makefile
testsuite/tests/gc-roots/Makefile
testsuite/tests/lib-dynlink-bytecode/Makefile
testsuite/tests/lib-marshal/Makefile
testsuite/tests/regression/pr3612/Makefile
testsuite/tests/runtime-C-exceptions/Makefile