qemu-devel
[Top][All Lists]
Advanced

[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


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 0/3 v3] Change search path for libraries for x86_64 linker script
Date: Thu, 23 Jul 2009 09:54:01 +0200
User-agent: 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
one INCLUDE.

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)?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]