diff options
author | Christian Pirker <cpirker@a-bix.com> | 2014-03-26 14:57:32 +0000 |
---|---|---|
committer | Christian Pirker <cpirker@a-bix.com> | 2014-03-26 14:57:32 +0000 |
commit | 99974c7242208e0bcdd6474cecabd4682fb03e36 (patch) | |
tree | 97e32c151ff6d6f4cf55bfd3a16a2e372a42421e /llvm/lib/MC | |
parent | a2cd009c51680abc576fbb2ccf45f673409c1bf6 (diff) | |
download | bcm5719-llvm-99974c7242208e0bcdd6474cecabd4682fb03e36.tar.gz bcm5719-llvm-99974c7242208e0bcdd6474cecabd4682fb03e36.zip |
AArch64_BE Elf support for MC-JIT runtime dynamic linker
llvm-svn: 204816
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 879aa8035b2..c27b88b9689 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -283,7 +283,8 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) { TTypeEncoding = (CMModel == CodeModel::Small) ? dwarf::DW_EH_PE_udata4 : dwarf::DW_EH_PE_absptr; } - } else if (T.getArch() == Triple::aarch64) { + } else if (T.getArch() == Triple::aarch64 || + T.getArch() == Triple::aarch64_be ) { // The small model guarantees static code/data size < 4GB, but not where it // will be in memory. Most of these could end up >2GB away so even a signed // pc-relative 32-bit address is insufficient, theoretically. |