[PATCH] D55311: Add support for OUTPUT_ARCH linker script command

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 15:19:42 PST 2018


grimar added a comment.

In D55311#1320583 <https://reviews.llvm.org/D55311#1320583>, @void wrote:

> In D55311#1320159 <https://reviews.llvm.org/D55311#1320159>, @ruiu wrote:
>
> > What is the motivation to do this? We don't try too hard to implement every detail of the linker script because it's just too complicated and there is usually an easy workaround that works without a linker script.
>
>
> The motivation is to support linking Linux, which uses linker scripts heavily. I added a comment by IanT from another thread about why this is a good addition.


Now I remember. We saw this bug earlier and decided to report an issue to linux kernel and not change the linker.
Bug reported here: https://bugzilla.kernel.org/show_bug.cgi?id=194091.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55311/new/

https://reviews.llvm.org/D55311





More information about the llvm-commits mailing list