[PATCH] D40558: [ELF] - Trigger error when -R <filename> is given.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 14:06:45 PST 2017


Roland McGrath <mcgrathr at google.com> writes:

> The failure mode for treating -R as --rpath when the user wanted
> --just-symbols is arcane and confusing, but it is not silent. 

That is a good point. We will silently add an rpath, but the link will
fail since it was expecting symbols we will not add.

That makes me a lot more comfortable just leaving -R as an alias to
--rpath.

Thanks,
Rafael


More information about the llvm-commits mailing list