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: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 00/37] Generate a proper LIBS variable
Date: Wed, 22 Jul 2009 20:19:01 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Anthony Liguori <address@hidden> wrote:
> 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:

Only for x86_64 or all architectures?  Once here.

> 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]