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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 08:52:47 PDT 2016


grimar added a comment.

In http://reviews.llvm.org/D19528#413617, @hjl.tools wrote:

> In http://reviews.llvm.org/D19528#413590, @grimar wrote:
>
> > In http://reviews.llvm.org/D19528#413580, @hjl.tools wrote:
> >
> > > I have found -z nocombreloc useful to debug ld and ld.so.
> >
> >
> > This can be really one-line-easy to add in lld, if restoring the original
> >  order of relocations can be useful for something.
> >  But again, gold does ignore that option, so it seems usecase
> >  is very specific.
>
>
> Well, gold can't build ld.so on Linux.


So just in case, I added support of -z nocombreloc, since it anyways trivial and short in code,


http://reviews.llvm.org/D19528





More information about the llvm-commits mailing list