[lld] r286378 - [ELF] - Add separate form for -R alias.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 14:14:05 PST 2016


I think this is a typo of the commit message. This patch itself is correct.
Quote from the GNU ld manual. "For options whose names are a single letter,
option arguments must either follow the option letter without intervening
whitespace, or be given as separate arguments immediately following the
option that requires them."

On Wed, Nov 9, 2016 at 2:09 PM, Joerg Sonnenberger via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Wed, Nov 09, 2016 at 04:38:15PM -0000, George Rimar via llvm-commits
> wrote:
> > Problem was not obvious and the reason was that we did not accept
> > the separate form of -R. While invocation line contained it:
> > cc -Wl,-R /usr/local/lib -o prog prog.c
>
> This is a bug in the invocation. If anything, it should be:
>   cc -Wl,-R -Wl,/usr/local/lib -o prog prog.c
>
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161109/6ab31fb1/attachment.html>


More information about the llvm-commits mailing list