qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: ARM prologue linkage fix


From: Blue Swirl
Subject: Re: [Qemu-devel] RFC: ARM prologue linkage fix
Date: Thu, 10 Jul 2008 18:36:25 +0300

On 7/8/08, Paul Brook <address@hidden> wrote:
> On Tuesday 08 July 2008, Blue Swirl wrote:
>  > Hi,
>  >
>  > I made a patch which allows sparc-linux-user target to be linked on an
>  > ARM host. Is this OK? Sparc32 helloworld program runs successfully,
>  > otherwise untested.
>
>
> In principle it looks ok, however:
>
>  I think it deserves a comment in exec.c saying why we do this - the prologue
>  is reached via a direct jump, so must be placed close to the code segment.
>
>  Also, calling something .bss.code_gen, than placing it is .data is just 
> asking
>  for trouble :-) I suggest calling the section ".gen_code".

Is this version OK then? Should I commit it?

Attachment: fix_arm_prologue.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]