commit | b96f71fed63641165462e05cf3ecf5012122afa1 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Mon May 19 19:21:25 2014 +0000 |
committer | Lang Hames <lhames@gmail.com> | Mon May 19 19:21:25 2014 +0000 |
tree | 1e5cdd4b0f8f5b9022ddf237bdbc34fb71ea9491 | |
parent | 8ad418b61b53a619bf9dd954c5399b69b7d78a96 [diff] |
[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>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209154 91177308-0d34-0410-b5e6-96231b3b80d8