[lld] r250808 - [ELF2] - Lazy relocation support for x86_64.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 11:03:29 PDT 2015


On Tue, Oct 20, 2015 at 10:46 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 20 October 2015 at 13:28, Rui Ueyama <ruiu at google.com> wrote:
> > On x86-64, it seems that we can save 8 bytes for each PLT entry. For a
> > program whose size is clang, for example, that could save probably 10 KB
> or
> > so. Is that important?
>
> Just for the size, probably not.
>
> I think there is value is having a simple output. ELF gets a bad
> reputation for being overly complex and it is nice to be able to look
> and see what are the requirements of each feature. It took me some
> time to figure out why ELF has two got sections for example.


I understand and agree with that. My first reaction to this lazy resolution
patch is "this is what we usually do, but I want to spend time to see if we
really need this feature on today's computer in the first place".

But no, it is not critical in any way and will be in svn history if we
> want it. So we can leave it out for now.
>

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151020/c7c4758b/attachment.html>


More information about the llvm-commits mailing list