qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Change search path for libraries for x86_64 linker


From: quintela
Subject: [Qemu-devel] [PATCH] Change search path for libraries for x86_64 linker script
Date: Wed, 22 Jul 2009 19:02:30 +0200

From: Juan Quintela <address@hidden>

Current script don't search in /usr/local/lib.  If you install locally 
libraries,
they normally install there, indeed in 64 bits system (a.k.a Anthony machine)

Looking at ouput of ld --verbose -v | grep SEARCH_DIR
(thanks Paolo Bonzini for the tip), this new list and order looks more natural,
and fixes Anthony problems.

Anthony, can you include this patch "before" my series?

Thanks in advance, Juan.


Signed-off-by: Juan Quintela <address@hidden>
---
 x86_64.ld |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/x86_64.ld b/x86_64.ld
index 878dafb..065c14e 100644
--- a/x86_64.ld
+++ b/x86_64.ld
@@ -2,7 +2,7 @@
 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
 OUTPUT_ARCH(i386:x86-64)
 ENTRY(_start)
-SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/local/lib64");
+SEARCH_DIR("/user/local/lib64"); SEARCH_DIR("/lib64"); 
SEARCH_DIR("/usr/lib64");SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); 
SEARCH_DIR("/usr/lib");
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-- 
1.6.2.5





reply via email to

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