aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 4263326ede04..0f55b71ed983 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -175,6 +175,7 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
175 175
176 /* Create the ELF interpreter info */ 176 /* Create the ELF interpreter info */
177 elf_info = (elf_addr_t *)current->mm->saved_auxv; 177 elf_info = (elf_addr_t *)current->mm->saved_auxv;
178 /* update AT_VECTOR_SIZE_BASE if the number of NEW_AUX_ENT() changes */
178#define NEW_AUX_ENT(id, val) \ 179#define NEW_AUX_ENT(id, val) \
179 do { \ 180 do { \
180 elf_info[ei_index++] = id; \ 181 elf_info[ei_index++] = id; \
@@ -185,6 +186,8 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
185 /* 186 /*
186 * ARCH_DLINFO must come first so PPC can do its special alignment of 187 * ARCH_DLINFO must come first so PPC can do its special alignment of
187 * AUXV. 188 * AUXV.
189 * update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT() in
190 * ARCH_DLINFO changes
188 */ 191 */
189 ARCH_DLINFO; 192 ARCH_DLINFO;
190#endif 193#endif