[PATCH] D19464: ELF: Create .gnu.version and .gnu.version_r sections when linking against versioned DSOs.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 09:44:47 PDT 2016


pcc added a comment.

I discovered a bad interaction between this feature and `--as-needed --gc-sections`. Sometimes we will create verneed entries for shared symbols referred to by un-needed DSOs, which can cause the glibc dynamic loader to reject the executable. Before landing this, I would like to fix this problem by changing the dead section stripping code to also filter the shared symbols in the dynsym.


http://reviews.llvm.org/D19464





More information about the llvm-commits mailing list