[lld] r189752 - Recognize -Bshareable as alias for -shared.
Joerg Sonnenberger
joerg at bec.de
Mon Sep 2 02:34:35 PDT 2013
Author: joerg
Date: Mon Sep 2 04:34:35 2013
New Revision: 189752
URL: http://llvm.org/viewvc/llvm-project?rev=189752&view=rev
Log:
Recognize -Bshareable as alias for -shared.
Modified:
lld/trunk/lib/Driver/LDOptions.td
Modified: lld/trunk/lib/Driver/LDOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/LDOptions.td?rev=189752&r1=189751&r2=189752&view=diff
==============================================================================
--- lld/trunk/lib/Driver/LDOptions.td (original)
+++ lld/trunk/lib/Driver/LDOptions.td Mon Sep 2 04:34:35 2013
@@ -48,6 +48,7 @@ def soname : Separate<["-"], "soname">;
def static : Flag<["-"], "static">;
def shared : Flag<["-"], "shared">;
+def Bshareable : Flag<["-"], "Bshareable">, Alias<shared>;
def start_group : Flag<["--"], "start-group">;
def end_group : Flag<["--"], "end-group">;
def build_id : Flag<["--"], "build-id">;
More information about the llvm-commits
mailing list