I've received a bug report from our AArch64 team that clang fails on big-endian userspace. Apparently, it has been already fixed in trunk and since the fix is quite obvious, I'd like to request backporting it to 7.0.1. The commit is r341312, i.e.: --- [Aarch64] Fix linker emulation for Aarch64 big endian This patch fixes target linker emulation for aarch64 big endian. aarch64_be_linux is not recognized by gnu ld. The equivalent emulation mode supported by gnu ld is aarch64linuxb. Patch by: Bharathi Seshadri Reviewed by: Peter Smith Differential Revision: https://reviews.llvm.org/D42930 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341312 91177308-0d34-0410-b5e6-96231b3b80d8
Tim, Is this OK to merge? https://reviews.llvm.org/rL341312
Yep, it looks fine to me.
Merged: r345920