Go to file
Walter Erquinigo b58d6a5655 Handle relocations to thumb functions when dynamic linking COFF modules
Summary:
This adds the necessary logic to support relocations to thumb functions in the COFF dynamic linker.
The jumps to function addresses are mostly blx, which requires the ISA selection bit when jumping to a thumb function.

Note: I'm determining if the relocation requires the ISA bit when creating the relocation entries and not when resolving the relocation. I have to do that because I need the ObjectFile and the actual Symbol, which are available only when creating the entries. It would require a gross refactor if I do it otherwise, but I'm okay with doing it if you think it's better.

Reviewers: peter.smith, compnerd

Subscribers: rengolin, sas

Differential Revision: https://reviews.llvm.org/D25151

llvm-svn: 284410
2016-10-17 18:56:18 +00:00
clang [Driver] Use VFS to perform all distribution checks 2016-10-17 18:07:15 +00:00
clang-tools-extra [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
compiler-rt [sanitizers] -Wno-macro-redefined for libc++ build 2016-10-14 18:19:02 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Make any_cast<void()>(nullptr) compile 2016-10-16 11:56:38 +00:00
libcxxabi Fix typo in comment 2016-10-15 00:02:20 +00:00
libunwind [libunwind] Add missing <stdint.h> include. NFC. 2016-10-13 14:32:24 +00:00
lld Update for llvm change. 2016-10-17 18:51:27 +00:00
lldb unittests: Specify types in a bunch of unittest EXPECT's 2016-10-17 18:22:03 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Handle relocations to thumb functions when dynamic linking COFF modules 2016-10-17 18:56:18 +00:00
openmp Code cleanup for the runtime without monitor thread 2016-10-07 18:12:19 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly [ScopDetect] Depend transitively on ScalarEvolution. 2016-10-17 13:29:20 +00:00