diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2016-06-10 16:00:22 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-15 20:43:56 +0200 |
commit | 199ffd4d10f8ef734032025e0a6847a9e2017bdd (patch) | |
tree | 726e5456310b7e0983eda94fcf851292ad7f049d /libpthread/nptl/sysdeps | |
parent | 5e3d8e668238f1ebbf96843ceb0a699d73a16a38 (diff) |
Fix hardcoded mmap offset
mmap offset must be a multiple of the page size. It was hardcoded
to 4K, so mmap2 test failed on non-4K page size architectures.
Now we get page size using sysconf(_SC_PAGE_SIZE).
Build and run tests done on nsim arc hs38.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Diffstat (limited to 'libpthread/nptl/sysdeps')
0 files changed, 0 insertions, 0 deletions