qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 00/37] Generate a proper LIBS variable


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 00/37] Generate a proper LIBS variable
Date: Wed, 22 Jul 2009 13:09:27 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Juan Quintela wrote:
Anthony, what do you think of merging a search path like this:

/usr/local/lib64;/lib64;/usr/lib64;/usr/local/lib;/lib;/usr/lib

This seems more similar to the one that my linker has.

Patch sent as new thread.

I'd rather see the us generate a config-host.ld that contained the output of ld --verbose -v | grep SEARCH_DIR and then do:

diff --git a/x86_64.ld b/x86_64.ld
index 878dafb..7920bdd 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");
+INCLUDE "config-host.ld"
SECTIONS
{
  /* Read-only sections, merged into text segment: */

Regards,

Anthony Liguori

Later,







reply via email to

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