|
From: | Stefano Bonifazi |
Subject: | Re: [Qemu-devel] qemu-user: relocating target code weakness |
Date: | Tue, 25 Jan 2011 11:47:28 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 01/25/2011 09:53 AM, Mike Frysinger wrote:
On Tue, Jan 25, 2011 at 03:47, Stefano Bonifazi wrote:On 01/25/2011 02:36 AM, Richard Henderson wrote:On 01/24/2011 01:44 PM, Stefano Bonifazi wrote:Wow wonderful! So you fixed the code for PIC (ET_DYN) support?Yes.how can I get your sources?I was mistaken -- a later version of the patch set was in fact merged. I simply forgot to delete my working branch afterward.Sorry.. merged with qemu? What version? I have qemu.0.13.0 and there are no your fixes.. How can I get the fixed qemu sources?you probably want to use the latest git tree http://git.qemu.org/qemu.git/ -mike
Hi! I think there is still a "bug" I corrected:You keep getting the name of the dynamic linker from the PT_INTERP program segment, but that gives you the absolute position of the dynamic linker inside the machine the target binary was created in. Here qemu-user is an emultaor used for running that binary into another machine.. Qemu default to usr/gnemul/ the path where the libs for the target machines are stored...
So we need to patch the absolute dynamic linker name with the proper path.. I dunno maybe this can be my first little contribute to qemu family ;) Regards, Stefano B.
[Prev in Thread] | Current Thread | [Next in Thread] |