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

2013-06-19 Thread Richard Henderson
On 06/19/2013 12:57 PM, Ed Maste wrote: > Sounds good, although we need to pick up __executable_start too I > think; from my ld --verbose: > # PROVIDE (__executable_start = 0x40); . = 0x40 + SIZEOF_HEADERS; > > How about this? > > $ld --verbose | sed \ > -e '1,/

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

2013-06-19 Thread Ed Maste
On 19 June 2013 14:25, Richard Henderson wrote: > Given the large variance in the true default, I wonder if we shouldn't ignore > it entirely. I wonder if we can't edit more like this: > > s/[.] = .* [+] SIZEOF_HEADERS/. = $textseg_addr + SIZEOF_HEADERS/ Sounds good, although we need to pick u

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

2013-06-19 Thread Richard Henderson
On 06/18/2013 07:29 PM, Ed Maste wrote: > if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then > + textseg_addr= >case "$ARCH" in > - alpha | s390x | aarch64) > -# The default placement of the application is fine. > + arm | hppa | i386 | ia64 | m68k | ppc | ppc64 |