diff options
Diffstat (limited to 'arch/arm/include/asm/elf.h')
-rw-r--r-- | arch/arm/include/asm/elf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index afb9cafd3786..ac3f17fb4c8d 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h | |||
@@ -1,7 +1,9 @@ | |||
1 | #ifndef __ASMARM_ELF_H | 1 | #ifndef __ASMARM_ELF_H |
2 | #define __ASMARM_ELF_H | 2 | #define __ASMARM_ELF_H |
3 | 3 | ||
4 | #include <asm/auxvec.h> | ||
4 | #include <asm/hwcap.h> | 5 | #include <asm/hwcap.h> |
6 | #include <asm/vdso_datapage.h> | ||
5 | 7 | ||
6 | /* | 8 | /* |
7 | * ELF register definitions.. | 9 | * ELF register definitions.. |
@@ -130,6 +132,13 @@ extern unsigned long arch_randomize_brk(struct mm_struct *mm); | |||
130 | #define arch_randomize_brk arch_randomize_brk | 132 | #define arch_randomize_brk arch_randomize_brk |
131 | 133 | ||
132 | #ifdef CONFIG_MMU | 134 | #ifdef CONFIG_MMU |
135 | #ifdef CONFIG_VDSO | ||
136 | #define ARCH_DLINFO \ | ||
137 | do { \ | ||
138 | NEW_AUX_ENT(AT_SYSINFO_EHDR, \ | ||
139 | (elf_addr_t)current->mm->context.vdso); \ | ||
140 | } while (0) | ||
141 | #endif | ||
133 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 | 142 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 |
134 | struct linux_binprm; | 143 | struct linux_binprm; |
135 | int arch_setup_additional_pages(struct linux_binprm *, int); | 144 | int arch_setup_additional_pages(struct linux_binprm *, int); |