[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: cleanups in ELF loader
From: |
J. Mayer |
Subject: |
Re: [Qemu-devel] RFC: cleanups in ELF loader |
Date: |
Sun, 30 Sep 2007 17:09:23 +0200 |
On Sun, 2007-09-30 at 14:38 +0100, Thiemo Seufer wrote:
> J. Mayer wrote:
> > Following what I've done in the syscalls emulation routines, it appeared
> > to me that there seems to be a lot of confusions between host and target
> > long in the ELF loader.
>
> But the ELF fields are tied to the ELFCLASS of the supported ABI, not to
> the register width of the machine emulation. If anything they should
> become the ELF types.
>
> (Your approach will e.g. break down for MIPS N32, where "long" is smaller
> thant the register width, and the ABI uses ELFCLASS32.)
OK, I will try to rework this.
[...]
--
J. Mayer <address@hidden>
Never organized