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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 09:38:39 PDT 2015


Thanks, I am very happy too :)

Sure I can add that option tomorrow, I just will need suggestion for option name.

Actually initially patch (http://reviews.llvm.org/D13856) already contained a switch flag for
that, but during review I was asked to always suppose that lazy relocations are enabled for x64.
So if nobody will be against that feature - I will build the change in the same way as it was done, but the
option will trigger that instead of flag.

>________________________________________
>От: Rafael Espíndola [rafael.espindola at gmail.com]
>Отправлено: 20 октября 2015 г. 20:27
>Кому: George Rimar
>Копия: llvm-commits
>Тема: Re: [lld] r250808 - [ELF2] - Lazy relocation support for x86_64.
>
>Congratulations, this is a pretty big feature!
>
>Would you mind adding a command line option for getting the old
>format? When lazy loading is not used, the old format has a few
>advantages
>
>* Entries are not potentially duplicated in .got and .got.plt
>* PLT entries are smaller
>
>long run we should implement -mno-plt in clang, but this option would
>be useful for experimenting with old .o files.
>
>Thanks,
>Rafael


More information about the llvm-commits mailing list