aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-03-06 13:49:05 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-03-06 13:49:05 +0000
commit618c67a018ec523a2a3116421bd2a690cf696564 (patch)
tree85a02baa5266e003d540183cf6fff637472d515b /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parent52b1391df61bd2ccfcbac2f354fec57cd4e17591 (diff)
downloadllvm-618c67a018ec523a2a3116421bd2a690cf696564.zip
llvm-618c67a018ec523a2a3116421bd2a690cf696564.tar.gz
llvm-618c67a018ec523a2a3116421bd2a690cf696564.tar.bz2
[AsmPrinter][TLOF] 32-bit MachO support for replacing GOT equivalents
Add MachO 32-bit (i.e. arm and x86) support for replacing global GOT equivalent symbol accesses. Unlike 64-bit targets, there's no GOTPCREL relocation, and access through a non_lazy_symbol_pointers section is used instead. -- before _extgotequiv: .long _extfoo _delta: .long _extgotequiv-_delta -- after _delta: .long L_extfoo$non_lazy_ptr-_delta .section __IMPORT,__pointers,non_lazy_symbol_pointers L_extfoo$non_lazy_ptr: .indirect_symbol _extfoo .long 0 llvm-svn: 231475
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions