aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Eggert2016-07-15 13:07:09 +0200
committerPaul Eggert2016-07-15 21:27:05 +0200
commite95b023163e96538b15f030b7176b7ec59cf86f5 (patch)
treec0ad4b151e8740015949c0aa868deaee14dc8582 /admin
parent098d29af10a869e65a36804579f16edc49aabcfa (diff)
downloademacs-e95b023163e96538b15f030b7176b7ec59cf86f5.tar.gz
emacs-e95b023163e96538b15f030b7176b7ec59cf86f5.zip
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-DEFINES2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index c7ec8ce6fed..5e6146b33d8 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -233,7 +233,7 @@ HAVE_NET_IF_DL_H
233HAVE_NET_IF_H 233HAVE_NET_IF_H
234HAVE_NLIST_H 234HAVE_NLIST_H
235HAVE_OTF_GET_VARIATION_GLYPHS 235HAVE_OTF_GET_VARIATION_GLYPHS
236HAVE_PERSONALITY_LINUX32 236HAVE_PERSONALITY_ADDR_NO_RANDOMIZE
237HAVE_PNG 237HAVE_PNG
238HAVE_PNG_H 238HAVE_PNG_H
239HAVE_POSIX_MEMALIGN 239HAVE_POSIX_MEMALIGN