projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f8586
)
unexelf.c hook to support HYBRID_MALLOC on ELF
author
Rich Felker
<dalias@libc.org>
Sat, 30 Jan 2016 22:20:56 +0000
(14:20 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 30 Jan 2016 23:26:07 +0000
(15:26 -0800)
* src/unexelf.c (unexec) [HYBRID_MALLOC]:
Define bss_sbrk_did_unexec (Bug#22086).
Copyright-paperwork-exempt: yes
src/unexelf.c
patch
|
blob
|
history
diff --git
a/src/unexelf.c
b/src/unexelf.c
index e90199472ed2e359e9d25e596af278178ba8ba56..32aa1b281da320c9fed83711de1ee3a7d6b6b852 100644
(file)
--- a/
src/unexelf.c
+++ b/
src/unexelf.c
@@
-227,6
+227,11
@@
unexec (const char *new_name, const char *old_name)
off_t new_file_size;
void *new_break;
+#ifdef HYBRID_MALLOC
+ extern int bss_sbrk_did_unexec;
+ bss_sbrk_did_unexec = 1;
+#endif
+
/* Pointers to the base of the image of the two files. */
caddr_t old_base, new_base;