From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com
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 [thread overview]
Message-ID: <cover.1248294529.git.quintela@redhat.com> (raw)
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
next reply other threads:[~2009-07-22 20:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 20:37 Juan Quintela [this message]
2009-07-22 20:37 ` [Qemu-devel] [PATCH 1/3] our build system don't support mips little endian linux-user or bsd-user Juan Quintela
2009-07-22 20:37 ` [Qemu-devel] [PATCH 2/3] generate LDFLAGS for *-linux-user and *-bsd-user in a single place in configure Juan Quintela
2009-07-22 20:37 ` [Qemu-devel] [PATCH 3/3] set SEARCH_PATH for the linker script from output of ld --verbose -v Juan Quintela
2009-07-23 7:54 ` [Qemu-devel] Re: [PATCH 0/3 v3] Change search path for libraries for x86_64 linker script Paolo Bonzini
2009-07-23 8:44 ` Juan Quintela
2009-07-23 9:06 ` Paolo Bonzini
2009-07-23 9:11 ` Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1248294529.git.quintela@redhat.com \
--to=quintela@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.