[mach-o] use the addend in GOT-based relocations.
authorTim Northover <tnorthover@apple.com>
Thu, 30 Oct 2014 18:01:07 +0000 (18:01 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 30 Oct 2014 18:01:07 +0000 (18:01 +0000)
commit516e983dd4e145176eb17b2de2cb1457880457da
tree8d90a8264560c84a669f2cf7d7ca3afbe90cbc4c
parentc572e92c763f44bddfa30bc43e9027547b72dbfa
[mach-o] use the addend in GOT-based relocations.

These are used to reference typeinfo data in the exception table section, for
example.

llvm-svn: 220916
lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
lld/test/mach-o/parse-text-relocs-x86_64.yaml