From f007dabfbb70e2383d4e73bccf5b7a357ab6777e Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Wed, 17 Apr 2019 08:36:41 -0500 Subject: [PATCH] 1825002 fix mips "Unexpected FPU mode" Signed-off-by: Daniel Santos --- linux-user/elfload.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 5bccd2e243..6cf4b76ed7 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -2648,6 +2648,10 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info) char *elf_interpreter = NULL; char *scratch; +#ifdef TARGET_MIPS + interp_info.fp_abi = MIPS_ABI_FP_UNKNOWN; +#endif + info->start_mmap = (abi_ulong)ELF_START_MMAP; load_elf_image(bprm->filename, bprm->fd, info, -- 2.19.2