diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-11-02 19:45:23 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-11-02 19:45:23 +0000 |
commit | fb05a50f6bf860dd051853e1c822fcbebe75fb47 (patch) | |
tree | ccd333195bd7ebf68b6dc371ef3b60f378826830 /clang/lib/Driver/Tools.cpp | |
parent | 84dcccd14bc5daf4a1ae356d1acbfc81528ea460 (diff) | |
download | bcm5719-llvm-fb05a50f6bf860dd051853e1c822fcbebe75fb47.tar.gz bcm5719-llvm-fb05a50f6bf860dd051853e1c822fcbebe75fb47.zip |
Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer.
Some ELF relocations require adding the a value to the original contents of the object buffer at the specified location. In order to properly handle multiple applications of a relocation, the RuntimeDyld code should be grabbing the original value from the object buffer and writing a new value into the loaded section buffer. This patch changes the parameters passed to resolveRelocations to accommodate this need.
llvm-svn: 167304
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions