HA: [PATCH] D14382: [ELF2] - Basic implementation of -r/--relocatable

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 10:30:41 PST 2015


On Nov 5, 2015 1:22 PM, "George Rimar" <grimar at accesssoftek.com> wrote:
>
> >Really? Then what's the point of  -r from the users' perspective
compared to ar?
>
> Just as a guess - if we have huge amount of files then probably ar will
work slower.

If so that is a bug in AR :-)

The only semantics difference I can think of is that ld -r is equivalent to
using --whole-archive.

I will check if gold or bfd resolve relocations. It would be a cool
optimization one way or the other, but we should probably delay it a bit if
they don't.

Cheers,Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151105/0a67f73a/attachment.html>


More information about the llvm-commits mailing list