From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ph9Xn-0006eT-UK for qemu-devel@nongnu.org; Sun, 23 Jan 2011 18:40:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ph9Xm-0003Yx-T0 for qemu-devel@nongnu.org; Sun, 23 Jan 2011 18:40:27 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:47937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ph9Xm-0003Yt-NB for qemu-devel@nongnu.org; Sun, 23 Jan 2011 18:40:26 -0500 Received: by gye5 with SMTP id 5so1265130gye.4 for ; Sun, 23 Jan 2011 15:40:26 -0800 (PST) Message-ID: <4D3CBC65.5070007@landley.net> Date: Sun, 23 Jan 2011 17:40:21 -0600 From: Rob Landley 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> In-Reply-To: <4D3CAAF3.2080600@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Bonifazi Cc: =?ISO-8859-1?Q?Rapha=EBl_Lef=E8vre?= , qemu-devel@nongnu.org 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