[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC, PATCH] Support for loading 32 bit ELF files for 6
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] [RFC, PATCH] Support for loading 32 bit ELF files for 64 bit linux-user |
Date: |
Sun, 7 Oct 2007 17:21:47 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
Blue Swirl wrote:
[snip]
> Index: qemu/linux-user/qemu.h
> ===================================================================
> --- qemu.orig/linux-user/qemu.h 2007-10-07 10:50:05.000000000 +0000
> +++ qemu/linux-user/qemu.h 2007-10-07 10:51:09.000000000 +0000
> @@ -33,6 +33,7 @@
> target_ulong data_offset;
> char **host_argv;
> int personality;
> + int is_64bits;
> };
I think the 64bit-ness should be part of the personality. In the end,
we need a notion of the ABI in use, not just a specific cpu feature flag.
(MIPS Linux has working support for 4 ABIs, and it could be up to a
dozen different variants counting the unimplemented bits.)
Thiemo
Re: [Qemu-devel] [RFC, PATCH] Support for loading 32 bit ELF files for 64 bit linux-user,
Thiemo Seufer <=