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 <m...@tls.msk.ru> 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~