llvm/lib/ExecutionEngine/RuntimeDyld
Ulrich Weigand e570abc428 [RuntimeDyld] Fix resolving R_PPC64_REL24 relocations
When resolving R_PPC64_REL24, code used to check for an address delta
that fits in 24 bits, while the instructions that take this relocation
actually can process address deltas that fit into *26* bits (as those
instructions have a 24 bit field, but implicitly append two zero bits
at the end since all instruction addresses are a multiple of 4).

This means that code would signal overflow once a single object's text
section exceeds 8 MB, while we can actually support up to 32 MB.

Partially fixes PR25540.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253369 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-17 20:08:31 +00:00
..
Targets RuntimeDyld: fix -Wtype-limits 2015-11-05 06:24:09 +00:00
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
LLVMBuild.txt Fix build following r211956 2014-06-28 06:31:47 +00:00
Makefile
RTDyldMemoryManager.cpp Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
RuntimeDyld.cpp [RuntimeDyld] Ignore ST_FILE symbols when constructing GlobalSymbolTable 2015-10-21 20:22:04 +00:00
RuntimeDyldChecker.cpp [RuntimeDyld] Add support for absolute symbols. 2015-10-18 01:41:37 +00:00
RuntimeDyldCheckerImpl.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
RuntimeDyldCOFF.cpp RuntimeDyld: add COFF i386 support 2015-11-01 01:26:15 +00:00
RuntimeDyldCOFF.h [MCJIT][Orc] Refactor RTDyldMemoryManager, weave RuntimeDyld::SymbolInfo through 2015-03-30 03:37:06 +00:00
RuntimeDyldELF.cpp [RuntimeDyld] Fix resolving R_PPC64_REL24 relocations 2015-11-17 20:08:31 +00:00
RuntimeDyldELF.h [mips][mcjit] Calculate correct addend for HI16 and PCHI16 reloc 2015-08-13 15:12:49 +00:00
RuntimeDyldImpl.h [RuntimeDyld] Add support for absolute symbols. 2015-10-18 01:41:37 +00:00
RuntimeDyldMachO.cpp -Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated in C++11 2015-08-05 20:20:29 +00:00
RuntimeDyldMachO.h [RuntimeDyld] MachO: Add support for ARM scattered vanilla relocations. 2015-07-24 17:40:04 +00:00