diff options
author | Peter Maydell | 2016-06-19 00:05:01 +0200 |
---|---|---|
committer | Peter Maydell | 2016-06-28 16:40:40 +0200 |
commit | 92fe2ba8b0615cce949e593309dd295698e77324 (patch) | |
tree | 024654c5354961df331dc6a2aad660c1946d5aff /hw/net/e1000.c | |
parent | hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p() (diff) | |
download | qemu-92fe2ba8b0615cce949e593309dd295698e77324.tar.gz qemu-92fe2ba8b0615cce949e593309dd295698e77324.tar.xz qemu-92fe2ba8b0615cce949e593309dd295698e77324.zip |
configure: Improve usermode relocation linker option probe
The probe we do to determine what flags to use to make the usermode
executables use a non-default text address has some flaws:
* we run it even if we're not building the user binaries
* we don't expect "ld --verbose" to fail
The combination of these two results in a harmless but
ugly "ld: unknown option: --verbose" message when running
configure on OSX.
Improve the probe to only run when we need it and to fail
nicely when even the backstop 'ld --verbose' approach fails.
Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1466287502-18730-2-git-send-email-pmaydell@chiark.greenend.org.uk
Diffstat (limited to 'hw/net/e1000.c')
0 files changed, 0 insertions, 0 deletions