[PATCH] D34204: [LLD][LinkerScript] Allow non-alloc sections to be assigned to segments.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 19:39:39 PDT 2017


ruiu added a comment.

Can you change your program?

I guess that the GNU linker is not designed to support this, but it's just that it happens to work with their linker. We are not aiming 100% compatibility with GNU as it is impossible (and doesn't make sense) to copy all the corner cases like this. So even if it works with the GNU linker, we sometimes want to stop and think whether it semantically makes sense or not.


https://reviews.llvm.org/D34204





More information about the llvm-commits mailing list