summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-03 19:41:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-03 19:41:55 +0000
commit5b174cbf6597468a3e78868ff175afd6579adcd7 (patch)
tree4e7aa33ed8baaf870cc0061a077bfcc583be044e
parentce54b92b046b65464e2d16b3842f3e97e3e0f27e (diff)
- use proper macro (no obj-code changes)
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 61bf6eb9d..2169eb574 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -442,7 +442,7 @@ struct elf_resolve *_dl_load_elf_shared_library(int secure,
DL_CHECK_LIB_TYPE (epnt, piclib, _dl_progname, libname);
- maxvma = (maxvma + ADDR_ALIGN) & ~ADDR_ALIGN;
+ maxvma = (maxvma + ADDR_ALIGN) & PAGE_ALIGN;
minvma = minvma & ~0xffffU;
flags = MAP_PRIVATE /*| MAP_DENYWRITE */ ;