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

2013-06-21 Thread Richard Henderson
On 06/20/2013 06:15 AM, Ed Maste wrote: > +try_ldflags="-Ttext-segment=$textseg_addr" Two problems: (1) you forgot "-Wl," here. (2) We're running into some strange problem with git submodule init dtc. >From config.log: > cc -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC

[Qemu-devel] [RFT PATCH v2] configure: Simplify alternate .text segment

2013-06-20 Thread Ed Maste
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