Message ID | BANLkTimsmwZU-kNLVA5T1MBW7FaS6jKJFQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 06/15/2011 11:14 PM, Khansa Butt wrote: > for my MIPS64 bit statically linked ELF the variables loaddr and hiaddr have 36 bit values. > for probing guest_base these values are rounded to 32 bit as my underlying OS is 32 bit Fedore13 Those last 8 words are the Real Problem. We don't support 64-bit address spaces in user mode from a 32-bit host. Some 64-bit guest tests accidentally work, but that's about all. Try again with a proper 64-bit host. r~
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index dcfeb7a..9ab3296 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1307,7 +1307,7 @@ static void load_elf_image(const char *image_name, int image_fd, struct elfhdr *ehdr = (struct elfhdr *)bprm_buf; struct elf_phdr *phdr; abi_ulong load_addr, load_bias, loaddr, hiaddr, error; - int i, retval; + int i, retval, dyn_link; const char *errmsg;