[PATCH] D28951: [ELF] - Linkerscripts: ignore CONSTRUCTORS in output section declaration.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 08:03:16 PST 2017

ruiu added a comment.

Can you give me a pointer to verify that the directive is ignored?

Comment at: ELF/LinkerScript.cpp:1453-1454
+    } else if (Tok == "CONSTRUCTORS") {
+      if (Config->Verbose)
+        elf::log(getCurrentLocation() + ": CONSTRUCTORS ignored for ELF");
     } else if (Tok == "FILL") {
We have a lot of things we silently ignore, and I don't find this is special, so no need to print out a message for that.


More information about the llvm-commits mailing list