[lld] r315727 - Handle shared symbols in --gc-sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 14:42:54 PDT 2017


Yeah, executables can export symbols. But, what if we are creating a
statically-linked executable?

On Fri, Oct 13, 2017 at 2:14 PM, Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:

> Rui Ueyama <ruiu at google.com> writes:
>
> > But DSO is short for dynamic shared object, no? And an executable is not
> a
> > shared object nor an .so.
>
> I would call an ELF executable a shared object. A symbol in a .so can
> resolve to a definition in the executable for example.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171013/e7387fee/attachment.html>


More information about the llvm-commits mailing list