]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Simplify alternate .text segment
authorRichard Henderson <rth@twiddle.net>
Sat, 22 Jun 2013 02:10:16 +0000 (19:10 -0700)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Jul 2013 18:13:20 +0000 (13:13 -0500)
commit964c6fa16f50a607f9da5068d6bf15ccc93872c0
treefca6927044fc0247c564fe768b615acebb3fee54
parentdc11549ec213f85f6a024c7df68d349464cd1688
configure: Simplify alternate .text segment

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 the default linker script.

Cc: Ed Maste <emaste@freebsd.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Acked-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ed Maste <emaste@freebsd.org>
Message-id: 1371867016-7660-1-git-send-email-rth@twiddle.net
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure