[BZ #10283] localedef: align fixed maps to SHMLBA
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 May 2013 16:42:28 +0000 (12:42 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 25 Jun 2013 00:26:58 +0000 (20:26 -0400)
commit17db6e8d6b12f55e312fcab46faf5d332c806fb6
treeab95a1c4fdeda9d12e21260604045fd4518afb5a
parentd605071ebf1fbbba5998a349540d4ad4e667f65e
[BZ #10283] localedef: align fixed maps to SHMLBA

Many Linux arches require fixed mmaps to be aligned higher than pagesize,
so use the SHMLBA define as it represents this quantity exactly.

This fixes spurious errors seen on those arches like:
cannot map archive header: Invalid argument

URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10283
Reported-by: CHIKAMA Masaki <masaki.chikama@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ChangeLog
NEWS
locale/locarchive.h
locale/programs/locarchive.c
sysdeps/generic/libc-mmap.h [new file with mode: 0644]