summaryrefslogtreecommitdiffstats
path: root/lld
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-04-27 21:56:53 +0000
committerDavide Italiano <davide@freebsd.org>2016-04-27 21:56:53 +0000
commit575ad8c2e13d6099f67d9d5e816fad8968c6e900 (patch)
treec537c572686a22b34bcf2cd2060c0d200e6c5d6c /lld
parent37d3fac3a7e78fa3484428fed2787f2c655d52e6 (diff)
downloadbcm5719-llvm-575ad8c2e13d6099f67d9d5e816fad8968c6e900.tar.gz
bcm5719-llvm-575ad8c2e13d6099f67d9d5e816fad8968c6e900.zip
[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. llvm-svn: 267801
Diffstat (limited to 'lld')
-rw-r--r--lld/ELF/Options.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 4b8b1b9796d..e30ec847bda 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -197,6 +197,7 @@ def alias_l__library : Joined<["--"], "library=">, Alias<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>;
OpenPOWER on IntegriCloud