Make CANNOT_DUMP work better on GNU/Linux
commit0b187fd2bfb797e113626df1b3740edbda8b698a
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Nov 2016 00:57:17 +0000 (20 16:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Nov 2016 00:59:24 +0000 (20 16:59 -0800)
treebb0d96996a2058c644d829350cafe61263f3c51a
parentebe2e69c8fb14dfa169e0497cd868ade79d4c9d8
Make CANNOT_DUMP work better on GNU/Linux

Clean up some of the bitrot affecting the CANNOT_DUMP code.  This
lets the build succeed again, and fixes the testing framework so
that most test cases now pass.  About twenty test cases still
fail, though, and we still have Bug#24974.
* configure.ac (CANNOT_DUMP): Now empty if CANNOT_DUMP.
(SYSTEM_MALLOC): Now true if CANNOT_DUMP.  There should no longer
be any point to messing with a private memory allocator unless
Emacs is dumping.
* src/alloc.c (alloc_unexec_pre, alloc_unexec_post, check_pure_size):
* src/image.c (reset_image_types):
* src/lastfile.c (my_endbss, _my_endbss, my_endbss_static):
Do not define if CANNOT_DUMP.
* src/emacs.c (might_dump) [CANNOT_DUMP]: Now always false and local.
(daemon_pipe) [!WINDOWSNT]: Now static.
* test/Makefile.in (mostlyclean): Remove *.tmp files.
(make-test-deps.mk): Elide CANNOT_DUMP chatter.
configure.ac
src/alloc.c
src/emacs.c
src/image.c
src/lastfile.c
test/Makefile.in