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
This commit is contained in:
parent
a5f8586129
commit
dec1390845
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue