diff options
author | Lang Hames <lhames@gmail.com> | 2014-05-19 19:21:25 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-05-19 19:21:25 +0000 |
commit | 1fcbc0850068faa55c6712dee4eb2d581cb452d4 (patch) | |
tree | 7b386a3f83d94c2753b1cc98e53e100cca8f0860 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | c2ec8c5281d1feb7dd447d413a35bbd4d87cc4b6 (diff) | |
download | llvm-1fcbc0850068faa55c6712dee4eb2d581cb452d4.zip llvm-1fcbc0850068faa55c6712dee4eb2d581cb452d4.tar.gz llvm-1fcbc0850068faa55c6712dee4eb2d581cb452d4.tar.bz2 |
[RuntimeDyld] Fix x86-64 MachO GOT relocation handling.
For GOT relocations the addend should modify the offset to the
GOT entry, not the value of the entry itself. Teach RuntimeDyldMachO
to do The Right Thing here.
Fixes <rdar://problem/16961886>.
llvm-svn: 209154
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions