[lld] r301772 - Ignore -no-keep-memory.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 30 06:45:07 PDT 2017


Author: ruiu
Date: Sun Apr 30 08:45:06 2017
New Revision: 301772

URL: http://llvm.org/viewvc/llvm-project?rev=301772&view=rev
Log:
Ignore -no-keep-memory.

When the -no-keep-memory option is given, BFD linker tries to save
memory in their own way. Since our internal architecture is completely
different from that linker, that option doesn't make sense to us.

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=301772&r1=301771&r2=301772&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Sun Apr 30 08:45:06 2017
@@ -385,6 +385,7 @@ def no_add_needed: F<"no-add-needed">;
 def no_allow_shlib_undefined: F<"no-allow-shlib-undefined">;
 def no_copy_dt_needed_entries: F<"no-copy-dt-needed-entries">,
   Alias<no_add_needed>;
+def no_keep_memory: F<"no-keep-memory">;
 def no_mmap_output_file: F<"no-mmap-output-file">;
 def no_warn_common: F<"no-warn-common">;
 def no_warn_mismatch: F<"no-warn-mismatch">;




More information about the llvm-commits mailing list