diff options
-rw-r--r-- | fs/binfmt_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index dd7ee459b..ec1891598 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -293,7 +293,7 @@ static unsigned long load_elf_interp(struct elfhdr * interp_elf_ex, goto out_close; if (!load_addr_set && interp_elf_ex->e_type == ET_DYN) { - load_addr = map_addr - + ELF_PAGESTART(vaddr); + load_addr = map_addr - ELF_PAGESTART(vaddr); load_addr_set = 1; } |