[PATCH] D28612: [ELF] - Added support for --emit-relocs.

Dmitry Golovin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 11:26:28 PST 2017


tpimh added inline comments.


================
Comment at: ELF/InputFiles.cpp:406
+    // However, if -emit-relocs is given, we need to leave them in the output.
+    // (Some post link analysis tools need this information.)
+    if (Config->EmitRelocs) {
----------------
Building Linux kernel with `CONFIG_ACPI=y` also fails because of this.


https://reviews.llvm.org/D28612





More information about the llvm-commits mailing list