[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Could configure generate QEMU's linker scripts?
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] Could configure generate QEMU's linker scripts? |
Date: |
Mon, 20 May 2013 10:21:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 05/19/2013 09:30 AM, Ed Maste wrote:
> On 19 May 2013 10:51, in a thread relating to the sparc-linux-user
> linker script, Michael Tokarev <address@hidden> wrote:
>> If we apply this for 1.5, it will be the first release of debian
>> package without extra fixes. Hopefully anyway :)
>>
>> (Ofcourse we may add more fixes later but... ;)
>
> Would it be reasonable to have QEMU's configure use sed or awk to
> start with ld's built-in linker script and transform it with the
> necessary modifications?
In general I believe that using the -Ttext-segment ADDR flag for ld
would completely obviate the need for even editing the link script.
> That is, it just changes the start address. Is this generally the
> only difference between QEMU's linker scripts and system built-ins?
Yes.
r~