[lld] Reading undefined symbols from dynamic objects

Shankar Easwaran shankare at codeaurora.org
Mon Sep 2 19:20:23 PDT 2013


Hi Joerg,

Dynamic linking is still rudimentary as you see it.

LGTM with a testcase.

Thanks

Shankar Easwaran

On 9/2/2013 4:36 PM, Joerg Sonnenberger wrote:
> Hi all,
> attached is a first try at cleaning up the symbol reading for ELF DSO
> dependencies. Essentially, if a shared library defines a weak symbol,
> it should not be entered into the symbol table. Otherwise another local
> weak definition in the current object will be changed into undef.
> This does not handle the case of a strong symbol in a DSO turning a weak
> definition into undefined, but that seems to be a separate issue.
>
> Joerg
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/f3bf05a6/attachment.html>


More information about the llvm-commits mailing list