[PATCH] D23447: [ELF] - Do not use mergeable sections when LS is used.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 11:23:36 PDT 2016


ruiu added a comment.

But the problem you are trying to fix is a hard one in my opinion. Currently, we instantiate input sections when we read them from files, so the decision whether the sections are to be string-merged or not is made when we read files. That's too early if you allow linker scripts to combine non-mergeable sections with mergeable ones. I do not have a clear idea how to deal with this. If you have an idea, and if it's going to be a large change, please discuss before writing a patch.


https://reviews.llvm.org/D23447





More information about the llvm-commits mailing list