[PATCH] D28898: [ELF] - Allow emulation to be different from input objects target.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 12:27:10 PST 2017


ruiu added a comment.

I wouldn't submit this. Even two GNU linkers behave differently, and the new behavior this patch implements has odd semantics which is unable to describe other than "because the gold linker does that." And the original code that we are trying to handle seems to be just a typo. All in all, the best thing we should do now seems to fix the Linux kernel. If this issue resurfaces, we'll consider this patch again.


https://reviews.llvm.org/D28898





More information about the llvm-commits mailing list