[PATCH] D19976: [ELF, WIP] - Prototype of possible linkerscript redesign.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 02:00:30 PDT 2016


grimar added a comment.

In https://reviews.llvm.org/D19976#486581, @emaste wrote:

> > we probably want to make user to provide full layout if he/she needs the some exact order
>
>
> Yes, I think it's OK to rely on the user to fully specify the layout if providing a linker script. (And revisit later on if it turns out there's a lot of software that relies on ld/gold defaults for unspecified sections.)


That sounds good because I guess that implementing heuristic that gold uses for orphans sections not only lead to code complication, but also a bit hard for understanding. I remember I was confused with that fact, I think just strict following of what is written in script is much more simple to understand for users.


https://reviews.llvm.org/D19976





More information about the llvm-commits mailing list