commit | 2a66cea1b82b82c7bf19e232aed741331377ad30 | [log] [tgz] |
---|---|---|
author | Roman Divacky <rdivacky@freebsd.org> | Thu Aug 04 19:08:19 2011 +0000 |
committer | Roman Divacky <rdivacky@freebsd.org> | Thu Aug 04 19:08:19 2011 +0000 |
tree | 885148ba415132590c98487130e5d86865c623c4 | |
parent | ad90d3a343ca73c32693e2b05b74462ccd9659cd [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