aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2018-06-15 15:51:39 -0700
committerPaul Eggert2018-06-15 15:51:56 -0700
commitb8b960e5e1520874b0a59575d31368f96b7f8b47 (patch)
tree93bb733623bc109d0b0e0bf7e63ddbf0d5740c8d /src/alloc.c
parentc2b20948fbe1dbb4be76c477e66cf120797417ff (diff)
downloademacs-b8b960e5e1520874b0a59575d31368f96b7f8b47.tar.gz
emacs-b8b960e5e1520874b0a59575d31368f96b7f8b47.zip
Minor CANNOT_DUMP cleanups
Mostly, this avoids munging executables when CANNOT_DUMP = yes, as the munging is needed only for unexec. * configure.ac (PAXCTL_dumped, PAXCTL_notdumped) [CANNOT_DUMP]: Leave these empty. (LD_SWITCH_SYSTEM_TEMACS) [CANNOT_DUMP]: Do not append -no-pie or -nopie. * src/alloc.c (my_heap_start) [CANNOT_DUMP]: Omit; not used.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7b2140501ec..286358662b9 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -104,7 +104,7 @@ static bool valgrind_p;
104#include "w32heap.h" /* for sbrk */ 104#include "w32heap.h" /* for sbrk */
105#endif 105#endif
106 106
107#ifdef GNU_LINUX 107#if defined GNU_LINUX && !defined CANNOT_DUMP
108/* The address where the heap starts. */ 108/* The address where the heap starts. */
109void * 109void *
110my_heap_start (void) 110my_heap_start (void)