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`.

llvm-svn: 267031
This commit is contained in:
Saleem Abdulrasool 2016-04-21 18:29:09 +00:00
parent 98f8394e7c
commit 1761dddc4f
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ def plugin_opt_eq : Joined<["--", "-"], "plugin-opt=">;
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">;