2 #define load_elf_binary load_elf_binary32
3 #define do_init_thread do_init_thread32
10 int load_elf_binary(struct linux_binprm *bprm, struct target_pt_regs *regs,
11 struct image_info *info);
13 int load_elf_binary_multi(struct linux_binprm *bprm,
14 struct target_pt_regs *regs,
15 struct image_info *info)
17 struct elfhdr *elf_ex;
20 elf_ex = (struct elfhdr *) bprm->buf; /* exec-header */
21 if (elf_ex->e_ident[EI_CLASS] == ELFCLASS64) {
22 retval = load_elf_binary(bprm, regs, info);
24 retval = load_elf_binary32(bprm, regs, info);
25 if (personality(info->personality) == PER_LINUX)
26 info->personality = PER_LINUX32;