[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master dec1390 03/15: unexelf.c hook to support HYBRID_MAL
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master dec1390 03/15: unexelf.c hook to support HYBRID_MALLOC on ELF |
Date: |
Sat, 30 Jan 2016 23:26:14 +0000 |
branch: master
commit dec139084586762793448277ebe80cfa7a1790b3
Author: Rich Felker <address@hidden>
Commit: Paul Eggert <address@hidden>
unexelf.c hook to support HYBRID_MALLOC on ELF
* src/unexelf.c (unexec) [HYBRID_MALLOC]:
Define bss_sbrk_did_unexec (Bug#22086).
Copyright-paperwork-exempt: yes
---
src/unexelf.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/unexelf.c b/src/unexelf.c
index e901994..32aa1b2 100644
--- 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;
- [Emacs-diffs] master updated (935b4d0 -> 692e410), Paul Eggert, 2016/01/30
- [Emacs-diffs] master dec1390 03/15: unexelf.c hook to support HYBRID_MALLOC on ELF,
Paul Eggert <=
- [Emacs-diffs] master 874c59a 06/15: Report static heap usage on non-Cygwin, too, Paul Eggert, 2016/01/30
- [Emacs-diffs] master a5f8586 02/15: Link temacs with gnulib compiled with -Demacs, Paul Eggert, 2016/01/30
- [Emacs-diffs] master 384ffef 05/15: Pacify GCC on extern decls, Paul Eggert, 2016/01/30
- [Emacs-diffs] master d6585a9 04/15: Add musl patch to support HYBRID_MALLOC on elf systems, Paul Eggert, 2016/01/30
- [Emacs-diffs] master cb22fce 01/15: Internal linkage for gmalloc etc. if HYBRID_MALLOC, Paul Eggert, 2016/01/30
- [Emacs-diffs] master e4cd4a7 08/15: * src/alloc.c: Include "sheap.h"., Paul Eggert, 2016/01/30
- [Emacs-diffs] master e1a9f20 07/15: Pacify --enable-gcc-warnings when HYBRID_MALLOC, Paul Eggert, 2016/01/30
- [Emacs-diffs] master 2ee2963 12/15: Shrink static heap a bit, Paul Eggert, 2016/01/30
- [Emacs-diffs] master 370a260 14/15: Make it easy to override preferred-branch test, Paul Eggert, 2016/01/30
- [Emacs-diffs] master 3d82a8e 11/15: Fix extern symbols defined and not used, Paul Eggert, 2016/01/30