summaryrefslogtreecommitdiff
path: root/libc/locale/locarchive.h
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-07-02 00:11:45 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-07-02 00:11:45 +0000
commit94ba134cf6431dad0aaece271a16761bc793d490 (patch)
treeb2b77be695fb5add3d132101bf25f2be915f3139 /libc/locale/locarchive.h
parentf42fd2771adb82cb5f34ba9e80a607975111da48 (diff)
Merge changes between r23363 and r23421 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@23422 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/locale/locarchive.h')
-rw-r--r--libc/locale/locarchive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/locale/locarchive.h b/libc/locale/locarchive.h
index db05603df..f2d84771a 100644
--- a/libc/locale/locarchive.h
+++ b/libc/locale/locarchive.h
@@ -84,6 +84,13 @@ struct locarhandle
void *addr;
size_t mmaped;
size_t reserved;
+ /* If this mmap required adjustment (such as re-aligning), then this is the
+ real address that was returned from mmap and thus should be passed to the
+ munmap call. The addr field above is the first usable address. */
+ void *mmap_base;
+ /* Same as above for mmap_base vs addr, but this is the real length of the
+ map rather than the usable (which is what reserved represents). */
+ size_t mmap_len;
};