[Top][All Lists]

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

Re: [Qemu-devel] Could configure generate QEMU's linker scripts?

From: Paolo Bonzini
Subject: Re: [Qemu-devel] Could configure generate QEMU's linker scripts?
Date: Sun, 19 May 2013 21:24:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 19/05/2013 18:30, Ed Maste ha scritto:
> I'd rather
> not end up just introducing a parallel set of ldscript files for
> FreeBSD, so would like to generate it from the default built-in one if
> possible.
> For the FreeBSD x86-64 case I can create a suitable linker script (at
> least, one identical to what's in the FreeBSD ports tree) with just
> the following:
> ld --verbose | sed \
>     -e '1,/==================================================/d' \
>     -e '/==================================================/,$d' \
>     -e 's/0x400000/0x60000000/g'
> That is, it just changes the start address.  Is this generally the
> only difference between QEMU's linker scripts and system built-ins?
> (Perhaps we're missing other changes in FreeBSD, or platforms other
> than x86_64 have more extensive changes?)

Is this still needed if you compile QEMU with PIE?  Currently we do that
only for a few architectures due to lack of testing, but it could well
be made the default, and help dropping the linker scripts.


reply via email to

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