summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2015-10-15 13:03:16 +0000
committerEd Maste <emaste@freebsd.org>2015-10-15 13:03:16 +0000
commitcbd42b17c7853bc3258d5467d8f50879541c3888 (patch)
treec73974b49509b56360efdb16e46a7d9c2198d32a
parentb4bb190eed5e59f592b6aed8b30a4428baeb6737 (diff)
downloadbcm5719-llvm-cbd42b17c7853bc3258d5467d8f50879541c3888.tar.gz
bcm5719-llvm-cbd42b17c7853bc3258d5467d8f50879541c3888.zip
Recognize -Bshareable alias for -shared
llvm-svn: 250397
-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 794fc93c355..b85f70afeff 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -111,6 +111,7 @@ def alias_init_init : Joined<["-"], "init=">, Alias<init>;
def alias_l__library : Joined<["--"], "library=">, Alias<l>;
def alias_o_output : Joined<["--"], "output=">, Alias<o>;
def alias_rpath_rpath : Joined<["-"], "rpath=">, Alias<rpath>;
+def alias_shared_Bshareable : Flag<["-"], "Bshareable">, Alias<shared>;
def alias_soname_h : Separate<["-"], "h">, Alias<soname>;
def alias_soname_soname : Separate<["-"], "soname">, Alias<soname>;
def alias_script_T : Separate<["-"], "T">, Alias<script>;
OpenPOWER on IntegriCloud