commit | 222e781d92541017c3a9c5dd40cb52e334cdb86f | [log] [tgz] |
---|---|---|
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | Mon Jul 01 18:19:56 2013 +0000 |
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | Mon Jul 01 18:19:56 2013 +0000 |
tree | 447201dbddf7e9e60aebc77bec1abf475904a848 | |
parent | 62c1baf8b58a40d37f56a5431214e6514e42970f [diff] |
[PowerPC] Fix @got references to local symbols A @got reference must always result in a relocation, so that the linker has a chance to set up the GOT entry, even if the symbol happens to be local. Add a PPCELFObjectWriter::ExplicitRelSym routine that enforces a relocation to be emitted for GOT references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185353 91177308-0d34-0410-b5e6-96231b3b80d8