aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-07-15 12:54:14 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2017-07-15 12:54:14 -0400
commit32d9b0e7a6d2de37dabaedc848c9842f2aef8575 (patch)
tree77e1ee7c14d03a9da348697730cc698fa8d529f9
parent075385f98af239ff5807a5c6ed17fec51e048454 (diff)
downloadglibc-32d9b0e7a6d2de37dabaedc848c9842f2aef8575.zip
glibc-32d9b0e7a6d2de37dabaedc848c9842f2aef8575.tar.gz
glibc-32d9b0e7a6d2de37dabaedc848c9842f2aef8575.tar.bz2
Fix [BZ locale/19838].
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/shm.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 41c050e..24a09e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-07-15 John David Anglin <danglin@gcc.gnu.org>
+ [BZ locale/19838]
+ * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
+
* nptl/allocatestack.c (allocate_stack): Align old and new guard
addresses to page boundaries when the stack grows up.
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/shm.h b/sysdeps/unix/sysv/linux/hppa/bits/shm.h
index 794f0ab..495dae8 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/shm.h
@@ -37,7 +37,7 @@
#define SHM_UNLOCK 12 /* unlock segment (root only) */
/* Segment low boundary address multiple. */
-#define SHMLBA 0x00400000 /* address needs to be 4 Mb aligned */
+#define SHMLBA 0x1000
/* Type to count number of attaches. */
typedef unsigned long int shmatt_t;