[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 0/3 v3] Change search path for libraries for x86
[Qemu-devel] Re: [PATCH 0/3 v3] Change search path for libraries for x86_64 linker script
Thu, 23 Jul 2009 09:54:01 +0200
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
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
I don't understand one thing. Is this patch now using the linker script
for all architectures? If so, it should be enough to call it
LDFLAGS_USER and add LDFLAGS+=$(USER_LDFLAGS) where the configuration of
linker scripts used to be done in the Makefile--or not?
BTW, maybe now the -Wl,-shared trick for self-virtualization can be
replaced with -fpie (position independent executable)?