aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-01-17 21:08:12 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-01-17 21:08:12 +0100
commit2a26ef3a012cc29623423ca52c1cc8001d847d54 (patch)
tree5453e1b7f8268bec96e7f640b8194a0f827ca926 /ChangeLog
parentd542f8ed21474035990eddbf9dfdf11660692335 (diff)
downloadglibc-2a26ef3a012cc29623423ca52c1cc8001d847d54.tar
glibc-2a26ef3a012cc29623423ca52c1cc8001d847d54.tar.gz
glibc-2a26ef3a012cc29623423ca52c1cc8001d847d54.tar.bz2
glibc-2a26ef3a012cc29623423ca52c1cc8001d847d54.zip
Add HAVE_MREMAP for mremap usage
Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 885176aed4..e7cfb64231 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
+
+ * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
+ * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
+ [!HAVE_MREMAP]: Remove [defined linux] case.
+ * malloc/arena.c: Do not include <malloc-sysdep.h>.
+
2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.