[PATCH] D13387: lld: Allow -soname arg in addition to -soname=arg
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 08:14:06 PDT 2015
emaste created this revision.
emaste added reviewers: ruiu, rafael.
emaste added a subscriber: llvm-commits.
Not documented, but GNU ld also accepts `-soname arg`. This is used by the FreeBSD build.
http://reviews.llvm.org/D13387
Files:
ELF/Options.td
Index: ELF/Options.td
===================================================================
--- ELF/Options.td
+++ ELF/Options.td
@@ -83,8 +83,9 @@
def alias_discard_all: Flag<["-"], "x">, Alias<discard_all>;
def alias_discard_locals: Flag<["-"], "X">, Alias<discard_locals>;
def alias_entry : Separate<["-"], "e">, Alias<entry>;
+def alias_h : Separate<["-"], "h">, Alias<soname>;
def alias_l : Joined<["--"], "library=">, Alias<l>;
-def alias_soname : Separate<["-"], "h">, Alias<soname>;
+def alias_soname : Separate<["-"], "soname">, Alias<soname>;
// Options listed below are silently ignored now.
def as_needed : Flag<["--"], "as-needed">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13387.36368.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/9bfea3be/attachment.bin>
More information about the llvm-commits
mailing list