aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-09-26 12:33:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-09-26 12:33:14 +0000
commit61d8b5feeed36e242a043befe9b11f7f8c294f58 (patch)
treec2fc88ccc8b269a9da4e6f66d39c12d8c3dd3662 /ChangeLog
parent4634128642f47da6542a4b73f8ff770d6b0765e5 (diff)
downloadtermbaud-61d8b5feeed36e242a043befe9b11f7f8c294f58.tar.gz
termbaud-61d8b5feeed36e242a043befe9b11f7f8c294f58.tar.xz
termbaud-61d8b5feeed36e242a043befe9b11f7f8c294f58.zip
Share MAP_* flags between more architectures.
Continuing bits/mman.h unification between architectures using the Linux kernel, this patch arranges for the common set of MAP_* flags to be used by two more architectures. That common set is moved to bits/mman-map-flags-generic.h, which is included by bits/mman.h, to allow architectures to use that common set even if they also have architecture-specific additions to it. As well as the generic bits/mman.h, the versions for x86 and ia64 are also then made to include bits/mman-map-flags-generic.h, so while they still need architecture-specific bits/mman.h (for MAP_32BIT and MAP_GROWSUP respectively), they do not need to duplicate the generic flag definitions in there. Tested for x86_64 and x86, and with build-many-glibcs.py. * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New file. Most contents moved from .... * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to and include <bits/mman-map-flags-generic.h>. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] (sysdep_headers): Add bits/mman-map-flags-generic.h. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include <bits/mman-map-flags-generic.h>. [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other macros defined in <bits/mman-map-flags-generic.h>. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include <bits/mman-map-flags-generic.h>. [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros defined in <bits/mman-map-flags-generic.h>.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 844d0813011..b757651511d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2018-09-26 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
+ file. Most contents moved from ....
+ * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
+ and include <bits/mman-map-flags-generic.h>.
+ * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
+ (sysdep_headers): Add bits/mman-map-flags-generic.h.
+ * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
+ <bits/mman-map-flags-generic.h>.
+ [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
+ macros defined in <bits/mman-map-flags-generic.h>.
+ * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
+ <bits/mman-map-flags-generic.h>.
+ [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
+ defined in <bits/mman-map-flags-generic.h>.
+
2018-09-26 Andreas Schwab <schwab@suse.de>
* Makefile ($(common-objpfx)testrun.sh): Remove leading space from