[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 13:30:09 PDT 2016


pcc added a comment.

> Therefore, SharedFile doesn't have to have any information as to versioned symbols. As long as each symbol has a version string, we can construct .gnu.version_r.


Right. The fields I added to `SharedFile` store temporary data that I use (1) to retain information from `parseSoName` that I need in `parseRest`, and (2) to construct `.gnu.version_r` in the writer.


http://reviews.llvm.org/D19464





More information about the llvm-commits mailing list