[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3 v3] Change search path for libraries for x86_64
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 0/3 v3] Change search path for libraries for x86_64 linker script |
Date: |
Wed, 22 Jul 2009 22:37:37 +0200 |
Hi
As requested for Anthony, we use as search path the output of:
ld --verbose -v | grep SEARCH_PATH
Anthony suggestion was to use a INCLUDE in the linker script, but it got
complicated because we have a relative path, and we want to get it working
with VPATH ....
Then I decided to use a second linker script for the search path instead of
one INCLUDE.
Once playing with linker scripts, just:
a- remove mips little endian linker scripts. Rest of the build system don't
support them at all (and they are the same than for big endian)
b- once here, instead of repeating the LDFLAGS line for each architecture,
just generate it in a single place in configure
c- now that there are few places, add the new linker script.
Comments?
Later, Juan.
Changes from v1/v2:
- complete different approach
Juan Quintela (3):
our build system don't support mips little endian linux-user or
bsd-user
generate LDFLAGS for *-linux-user and *-bsd-user in a single place in
configure
set SEARCH_PATH for the linker script from output of ld --verbose -v
Makefile | 2 +-
Makefile.target | 148 ------------------------------------
alpha.ld | 1 -
arm.ld | 1 -
configure | 52 +++++++++++++
hppa.ld | 1 -
i386.ld | 1 -
ia64.ld | 4 +-
m68k.ld | 4 +-
mips.ld | 1 -
mipsel.ld | 225 -------------------------------------------------------
ppc.ld | 1 -
ppc64.ld | 8 +--
s390.ld | 4 +-
sparc.ld | 1 -
sparc64.ld | 1 -
x86_64.ld | 1 -
17 files changed, 57 insertions(+), 399 deletions(-)
delete mode 100644 mipsel.ld
- [Qemu-devel] [PATCH 0/3 v3] Change search path for libraries for x86_64 linker script,
Juan Quintela <=