commit | 8026017fd0d296783f952c2ed942a8b8153e273e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Aug 11 20:49:27 2017 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Aug 11 20:49:27 2017 +0000 |
tree | 0e6a17f079ef92eebdff75f9c2249b0fa1442084 | |
parent | 363fd7a30f25fa50277620276f10c021379d8acf [diff] |
Fix access to undefined weak symbols in pic code When the access to a weak symbol is not a call, the access has to be able to produce the value 0 at runtime. We were sometimes producing code sequences where that was not possible if the code was leaded more than 4g away from 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310756 91177308-0d34-0410-b5e6-96231b3b80d8