summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-01 20:30:57 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-01 20:30:57 +0000
commitd0e91e8c4ef77997c940538eaa752799c9dda2d3 (patch)
treeceaf4c77ba9e116ace69db2ccd14e2da197d50d9 /ChangeLog
parentc52944e8ccb15158b7e44cbb75fb46d81400d75c (diff)
downloadglibc-d0e91e8c4ef77997c940538eaa752799c9dda2d3.tar.gz
Move MREMAP_* to bits/mman-shared.h.
The MREMAP_* flags are identical between bits/mman-linux.h and the hppa bits/mman.h; thus, they should be in bits/mman-shared.h instead to avoid unnecessary duplication. This patch moves them there. Tested for x86_64, and with build-many-glibcs.py. * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU] (MREMAP_MAYMOVE): Do not define here. [__USE_GNU] (MREMAP_FIXED): Likewise. * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU] (MREMAP_MAYMOVE): Define here instead. [__USE_GNU] (MREMAP_FIXED): Likewise. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU] (MREMAP_MAYMOVE): Remove. [__USE_GNU] (MREMAP_FIXED): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 07760299e6..1fdd50a24c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2018-10-01 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Do not define here.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+ * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Define here instead.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+ * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Remove.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+
2018-09-28 Joseph Myers <joseph@codesourcery.com>
* math/fromfp.h: Do not include <math_private.h>.