[PATCH] D44012: [ELF] - Allow discarding .hash and .gnu.hash from linker script.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 13:32:53 PST 2018


ruiu added a comment.

Generally looking good, but ...



================
Comment at: ELF/LinkerScript.cpp:363-364
 
+    // It's normal to discard the following sections. We drop the pointer to adjust
+    // the rest code behavior as there were no such sections from the begining.
+    if (S == InX::GnuHashTab)
----------------
Is that actually common? Could you give me an example?


https://reviews.llvm.org/D44012





More information about the llvm-commits mailing list