Re: Linkage order

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

 



Hi,
thank you for your answer.

> On 08/19/2014 09:05 AM, "Hauke Krüger(IND)" wrote:
>
>> Question: Can I somehow tell the linker to prefer "local" function calls
>> such that this problem is solved?
>
> This is more of a binutils question.  One way to do this reliability
> with static linking is to use "ld -r --retain-symbols-file".
>
I can see with nm that the "--retain-symbols-file" option leads to a
library file that only exposes those symbols specified in the file
given as argument. Is that the list of symbols which also the ld tool
really sees? Why the option -r?






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux