[PATCH] D28898: [ELF] - Allow emulation to be different from input objects target.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 12:51:48 PST 2017
I agree. George, would you be able to send a patch to the kernel? If
they have a reason for the mismatched -m we can revisit this, but right
now it looks like and accident.
Rui Ueyama via Phabricator <reviews at reviews.llvm.org> writes:
> 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.
More information about the llvm-commits