qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] configure: Simplify alternate .text segment


From: Ed Maste
Subject: Re: [Qemu-devel] [PATCH v3] configure: Simplify alternate .text segment
Date: Mon, 24 Jun 2013 15:45:10 -0400

On 21 June 2013 22:10, Richard Henderson <address@hidden> wrote:
> For bsd-user and linux-user emulation modes QEMU needs to be linked at an
> alternate .text segment address, so that it's out of the way of the guest
> executable.  Instead of including modified linker scripts for each arch,
> just set the address with -Ttext-segment if supported, or by using sed to
> edit the default linker script.
>
> Cc: Ed Maste <address@hidden>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
>  configure | 48 +++++++++++++++++++++++++++++++-----------------
>  2 files changed, 31 insertions(+), 18 deletions(-)
> --
>
> Changes v2-v3:
>   * Move the check for textseg_ldflags much earlier in the configure file,
>     so that we've not got cflags invalid for configure time.  Plus, the
>     check (and generated ld script) only gets done once, not once per
>     target directory.
>   * Remove ia64 from the hosts that get relocation
>   * Handle s390x like s390.

Thanks for cleaning this up.  Tested on x86_64 FreeBSD with base
system (old) binutils.

Acked-by: Ed Maste <address@hidden>
Or if you prefer, for my contribution to this version,
Signed-off-by: Ed Maste <address@hidden>



reply via email to

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