From: Saleem Abdulrasool Date: Thu, 21 Apr 2016 18:29:09 +0000 (+0000) Subject: ELF: alias `--no-copy-dt-needed-entries` to `--no-add-needed` X-Git-Tag: llvmorg-3.9.0-rc1~8429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1761dddc4f272817c53b621808703a32b16cc3cb;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index cbc83cd..d016c39 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -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; def no_dynamic_linker : Flag<["--"], "no-dynamic-linker">; def no_fatal_warnings : Flag<["--"], "no-fatal-warnings">; def no_warn_common : Flag<["--", "-"], "no-warn-common">;