summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorWalter Erquinigo <a20012251@gmail.com>2016-10-17 18:56:18 +0000
committerWalter Erquinigo <a20012251@gmail.com>2016-10-17 18:56:18 +0000
commitb58d6a5655574a5bbb61833c61cd867b42a9c14b (patch)
treecfc3c7f398cce790208b3770695e53b61d25ce77 /llvm/lib/CodeGen/SafeStack.cpp
parentb18783e441a2b33bc2ce88c6bd41709f083ac2ea (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud