[PATCH] D25799: Include version string into ".linker-version" section.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 10:59:53 PDT 2016


ruiu added a comment.

I was thinking about that. The benefit of doing that is that the .comment section is a well-known section, so the exiting tools can handle it (or strip it.) On the other hand, I worried if we add a linker version to .comment, you cannot figure out which is the linker's version string among many strings in a .comment section unless you know the name of the linker.

Probably I was overthinking. The .comment section is for human consumption, so that may a better place to put the version string than creating a new section. Let me update this patch.


https://reviews.llvm.org/D25799





More information about the llvm-commits mailing list