Fix MachO's getRelocationAdditionalInfo.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Apr 2013 02:21:31 +0000 (02:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Apr 2013 02:21:31 +0000 (02:21 +0000)
commite410099a02b972b855f9354b0c5a4e006ce928d3
treec8371cfeb1d433e5b0452f86f2e84f140e4d7e1e
parentbc48989d0dfc5f91ba394648fbdd726a5160f98e
Fix MachO's getRelocationAdditionalInfo.

It was returning the loaded address of the section containing the relocation,
which really doesn't seem to be the intent of this function.

llvm-svn: 179255
llvm/include/llvm/Object/MachO.h
llvm/lib/Object/MachOObjectFile.cpp