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