diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-07-15 13:07:09 +0200 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-07-15 21:27:05 +0200 |
commit | e95b023163e96538b15f030b7176b7ec59cf86f5 (patch) | |
tree | c0ad4b151e8740015949c0aa868deaee14dc8582 /admin | |
parent | 098d29af10a869e65a36804579f16edc49aabcfa (diff) |
Port to glibc 2.24 (pre-release) + ppc64
Inspired by a suggestion by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
* configure.ac (HAVE_PERSONALITY_ADDR_NO_RANDOMIZE):
Rename from HAVE_PERSONALITY_LINUX32, and check for
ADDR_NO_RANDOMIZE (the crucial thing) instead of for LINUX32.
All uses changed.
* src/emacs.c (main) [HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]:
Use ADDR_NO_RANDOMIZE from personality.h rather than inventing the
flag ourselves. Just set that flag, rather than also setting the
persona. When doing it, avoid functions like putenv that may
allocate memory.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/CPP-DEFINES | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index c7ec8ce6fe..5e6146b33d 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -233,7 +233,7 @@ HAVE_NET_IF_DL_H HAVE_NET_IF_H HAVE_NLIST_H HAVE_OTF_GET_VARIATION_GLYPHS -HAVE_PERSONALITY_LINUX32 +HAVE_PERSONALITY_ADDR_NO_RANDOMIZE HAVE_PNG HAVE_PNG_H HAVE_POSIX_MEMALIGN |