[PATCH] D19528: [ELF] - Implemented -z combrelocs/nocombreloc.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 15:26:43 PDT 2016


On 26 April 2016 at 06:30, George Rimar <grimar at accesssoftek.com> wrote:
> grimar created this revision.
> grimar added reviewers: ruiu, rafael.
> grimar added subscribers: grimar, llvm-commits.
>
> This is the option which sorts relocs to optimize dynamic linker performance.
> -z combelocs is the default in gold, also it ignores -z nocombreloc
> (https://sourceware.org/bugzilla/show_bug.cgi?id=11062), so I guess we can do the same.
> So this patch does not add handling of these options, just ignores them,
> but adds sorting of relocations before writing them to rel[a].dyn section.
>
> Details about option (taken from http://people.redhat.com/jakub/prelink.pdf, p.2):


Does this have any application outside of prelinking? As far as I can
tell that is pretty much dead.

Cheers,
Rafael


More information about the llvm-commits mailing list