From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhJdN-0004gh-HO for qemu-devel@nongnu.org; Mon, 24 Jan 2011 05:26:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhJU4-000258-KE for qemu-devel@nongnu.org; Mon, 24 Jan 2011 05:17:18 -0500 Received: from mail-ww0-f53.google.com ([74.125.82.53]:38400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhJU4-00024b-Cl for qemu-devel@nongnu.org; Mon, 24 Jan 2011 05:17:16 -0500 Received: by wwi18 with SMTP id 18so3820695wwi.10 for ; Mon, 24 Jan 2011 02:17:15 -0800 (PST) Message-ID: <4D3D51A8.3060903@gmail.com> Date: Mon, 24 Jan 2011 11:17:12 +0100 From: Stefano Bonifazi MIME-Version: 1.0 Subject: Re: [Qemu-devel] TCG flow vs dyngen References: <000001cbb58c$221f5a00$011aa8c0@side35ya3cah0n> <4D330D01.9060801@gmail.com> <4D3CA28C.5080907@landley.net> <4D3CAAF3.2080600@gmail.com> <4D3CBC65.5070007@landley.net> In-Reply-To: <4D3CBC65.5070007@landley.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: =?ISO-8859-1?Q?Rapha=EBl_Lef=E8vre?= , qemu-devel@nongnu.org On 01/24/2011 12:40 AM, Rob Landley wrote: > On 01/23/2011 04:25 PM, Stefano Bonifazi wrote: >> I am trying to shift in memory the target executable .. now the code is >> "supposed" to be loaded by the elfloader at the exact start address set >> at link time .. > Ah, elf loading. That's a whole 'nother bag of worms. > > Oddly enough, I was deling with this last year trying to debug the > uClibc dynamic linker. I blogged a bit about it at the time: > > http://landley.net/notes-2010.html#12-07-2010 > > (And the next few days. Sigh, I never did go back and fill in the > holes, did I?) > >> Inside elfloader there is even a check for verifying whether that >> address range is busy.. but no action is taken in that case o.O >> Maybe I'll post a new thread about this problem (bug?) .. anyway if you >> think you can help me anyway I'll give you further details.. > Tired right now, but if you post a clearer question (what are you trying > to _do_) and cc: me on it I'll try to respond. > > Maybe I can find some decent documentation to point you at, or maybe > I'll write some... > > Rob Thank you! I read your post, and yup you also noticed the weird of load_bias.. and wondered how it can work on x86.. But I think your work was on qemu-system.. I am working on qemu-user.. Yup better to post a new thread, I'll cc: you there! Thank you very much! Stefano B