Fix [BZ locale/19838].

This commit is contained in:
John David Anglin 2017-07-15 12:54:14 -04:00
parent 075385f98a
commit 32d9b0e7a6
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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;