[lld] r267031 - ELF: alias `--no-copy-dt-needed-entries` to `--no-add-needed`

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 11:29:10 PDT 2016


Author: compnerd
Date: Thu Apr 21 13:29:09 2016
New Revision: 267031

URL: http://llvm.org/viewvc/llvm-project?rev=267031&view=rev
Log:
ELF: alias `--no-copy-dt-needed-entries` to `--no-add-needed`

`--add-needed` and `--no-add-needed` have been deprecated due to the similarity
of their spelling to `--as-needed` and `--no-as-needed`.  They have been renamed
to `--copy-dt-needed-entries` and `--no-copy-dt-needed-entries`.

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=267031&r1=267030&r2=267031&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Thu Apr 21 13:29:09 2016
@@ -223,6 +223,8 @@ def plugin_opt_eq : Joined<["--", "-"],
 def detect_odr_violations : Flag<["--"], "detect-odr-violations">;
 def fatal_warnings : Flag<["--"], "fatal-warnings">;
 def no_add_needed : Flag<["--"], "no-add-needed">;
+def no_copy_dt_needed_entries : Flag<["--"], "no-copy-dt-needed-entries">,
+                                Alias<no_add_needed>;
 def no_dynamic_linker : Flag<["--"], "no-dynamic-linker">;
 def no_fatal_warnings : Flag<["--"], "no-fatal-warnings">;
 def no_warn_common : Flag<["--", "-"], "no-warn-common">;




More information about the llvm-commits mailing list