[PATCH] D23352: [ELF] - Linkerscript: implemented simple heuristic for placing orphan sections.

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 01:43:39 PDT 2016


evgeny777 added a comment.

I think, the motivation is that listing all sections in linker script is not always a good idea. For example we have about dozen of linker scripts and more than hundred of projects which are linked using those scripts, so that single script is shared between several projects. The set of sections from project to project might be different, so without any heuristic I have to investigate all of them and modify scripts to cover all possible layouts. Needless to say, that serious amount of work may be required, so if heuristic can be implemented with a dozen lines of code then I'd like to have it as well.


https://reviews.llvm.org/D23352





More information about the llvm-commits mailing list