aboutsummaryrefslogtreecommitdiff
path: root/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2011-08-04 19:08:19 +0000
committerRoman Divacky <rdivacky@freebsd.org>2011-08-04 19:08:19 +0000
commit2a66cea1b82b82c7bf19e232aed741331377ad30 (patch)
tree885148ba415132590c98487130e5d86865c623c4 /lib/Linker/LinkModules.cpp
parentad90d3a343ca73c32693e2b05b74462ccd9659cd (diff)
Introduce adjustFixupOffset that adjusts the fixup offset of a relocation.
This is meant to be overriden by backends. Implement an override on PowerPC which adjusts the offset by 2 for ha16/lo16 relocation kinds. This removes a commented out hack and enables hello world to be compiled on PowerPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkModules.cpp')
0 files changed, 0 insertions, 0 deletions