diff options
author | Christian Pirker <cpirker@a-bix.com> | 2014-03-28 14:35:30 +0000 |
---|---|---|
committer | Christian Pirker <cpirker@a-bix.com> | 2014-03-28 14:35:30 +0000 |
commit | 2a111609561eacc50ecf8f6cb9212164b5ce2aac (patch) | |
tree | 28d96eada44426b0323dbf56cdc159e4fbb205f5 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | |
parent | 6f3408259043edc3e1e8f88a9a593c2469bbe92f (diff) | |
download | bcm5719-llvm-2a111609561eacc50ecf8f6cb9212164b5ce2aac.tar.gz bcm5719-llvm-2a111609561eacc50ecf8f6cb9212164b5ce2aac.zip |
Add ARM big endian Target (armeb, thumbeb)
Reviewed at http://llvm-reviews.chandlerc.com/D3095
llvm-svn: 205007
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 3b400690eb7..3204b81df2b 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -848,7 +848,9 @@ void RuntimeDyldELF::resolveRelocation(const SectionEntry &Section, resolveAArch64Relocation(Section, Offset, Value, Type, Addend); break; case Triple::arm: // Fall through. + case Triple::armeb: case Triple::thumb: + case Triple::thumbeb: resolveARMRelocation(Section, Offset, (uint32_t)(Value & 0xffffffffL), Type, (uint32_t)(Addend & 0xffffffffL)); break; |