diff options
author | Peter Smith <peter.smith@linaro.org> | 2018-10-16 09:21:17 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2018-10-16 09:21:17 +0000 |
commit | e75b6d78e0f90c1bdcf16d59fdacbbc0ffe6ec4a (patch) | |
tree | 9032adfd39bd7bb9385095220592a1d5a3544721 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 87de55ad01a092164f77f12f8aaccb0c5d7f6a7b (diff) | |
download | bcm5719-llvm-e75b6d78e0f90c1bdcf16d59fdacbbc0ffe6ec4a.tar.gz bcm5719-llvm-e75b6d78e0f90c1bdcf16d59fdacbbc0ffe6ec4a.zip |
[ARM][AArch64] Pass through endian flags to assembler and linker.
The big-endian arm32 Linux builds are currently failing when the
-mbig-endian flag is used but the binutils default on the system is little
endian. This also holds when -mlittle-endian is used and the binutils
default is big endian.
The patch always passes through -EL or -BE to the assembler and linker,
taking into account the target and the -mbig-endian and -mlittle-endian
flag.
Fixes pr38770
Differential Revision: https://reviews.llvm.org/D52784
llvm-svn: 344597
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions