[lld] r267801 - [ELF] -R is an alias for -rpath.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 14:56:53 PDT 2016


Author: davide
Date: Wed Apr 27 16:56:53 2016
New Revision: 267801

URL: http://llvm.org/viewvc/llvm-project?rev=267801&view=rev
Log:
[ELF] -R is an alias for -rpath.

perl-5 uses the former, so provide an alias. Found while linking
the whole set of FreeBSD ports with lld.

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=267801&r1=267800&r2=267801&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Wed Apr 27 16:56:53 2016
@@ -197,6 +197,7 @@ def alias_l__library : Joined<["--"], "l
 def alias_o_output : Joined<["--"], "output=">, Alias<o>;
 def alias_pie_pic_executable: Flag<["--"], "pic-executable">, Alias<pie>;
 def alias_relocatable_r : Flag<["-"], "r">, Alias<relocatable>;
+def alias_rpath_R : Joined<["-"], "R">, Alias<rpath>;
 def alias_rpath_rpath : Joined<["-"], "rpath=">, Alias<rpath>;
 def alias_script_T : JoinedOrSeparate<["-"], "T">, Alias<script>;
 def alias_shared_Bshareable : Flag<["-"], "Bshareable">, Alias<shared>;




More information about the llvm-commits mailing list