[PATCH] [ELF] LLD does not create a record in the .dynsym if a strong symbol defined in the executable file replaces a weak symbol from a shared library.
Simon Atanasyan
simon at atanasyan.com
Thu Aug 14 06:22:58 PDT 2014
On Thu, Aug 14, 2014 at 6:46 AM, Shankar Kalpathi Easwaran
<shankarke at gmail.com> wrote:
> When the weak symbol in the shared library is resolved from another object file when building an executable that symbol would need to be exported.
>
> I was suggesting to have a reference in the atom that if it needs to be exported, be set to exportDynamic during the resolution phase.
So you suggest to create such references in the `Resolver` class
because now it is the only place where we get and can use information
about coalescing symbols. Right?
--
Simon Atanasyan
More information about the llvm-commits
mailing list