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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 08:36:07 PST 2017


grimar added inline comments.


================
Comment at: ELF/InputFiles.cpp:409
+      if (!isa<InputSection<ELFT>>(Target))
+        fatal(toString(this) + ": --emit-relocs for relocations sections "
+                               "pointing to .eh_frame is not supported");
----------------
I am going to remove that fatal error in following patch.
It is needed for linux kernel, but since it involves move DependentSection from InputSection<ELFT> to somewhere and also adding more additional tests probably, I think it is better not to do that change in this patch.
Hope it's ok.


https://reviews.llvm.org/D28612





More information about the llvm-commits mailing list