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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 13:07:08 PDT 2016


ruiu added a comment.

I'd like to rephrase that to say what I was thinking when I added this comment. So, if my understanding is correct, then users of a DSO don't need to understand the version hierarchy of the DSO. Each version is identified by version string, and that is a opaque token to the user. 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.


http://reviews.llvm.org/D19464





More information about the llvm-commits mailing list