diff options
author | Walter Erquinigo <a20012251@gmail.com> | 2016-10-17 18:56:18 +0000 |
---|---|---|
committer | Walter Erquinigo <a20012251@gmail.com> | 2016-10-17 18:56:18 +0000 |
commit | b58d6a5655574a5bbb61833c61cd867b42a9c14b (patch) | |
tree | cfc3c7f398cce790208b3770695e53b61d25ce77 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | b18783e441a2b33bc2ce88c6bd41709f083ac2ea (diff) | |
download | bcm5719-llvm-b58d6a5655574a5bbb61833c61cd867b42a9c14b.tar.gz bcm5719-llvm-b58d6a5655574a5bbb61833c61cd867b42a9c14b.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions