[PATCH] D41057: Avoid a gnu readelf warning

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 04:29:59 PST 2017


grimar added inline comments.


================
Comment at: ELF/SyntheticSections.cpp:1233
+  if (this == InX::RelaPlt) {
+    Info = InX::GotPlt->getParent()->SectionIndex;
+    getParent()->Info = Info;
----------------
emaste wrote:
> Why `.got.plt` and not `.plt`?
Do we really want to care about readelf warnings about something that is not in ELF spec (I assume it is not) ?  While it is not a error... may be we can just ignore it ?


https://reviews.llvm.org/D41057





More information about the llvm-commits mailing list