commit | 4aebf83110897f95aebb6945c7c7e7489c0779a8 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 11 23:18:25 2017 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 11 23:18:25 2017 +0000 |
tree | 9b397a2a25ac0b4e780e8facc6a3e67866ee3c2d | |
parent | dd0b140c37c1b86bd0b09fb518f2c1fce6476a2b [diff] |
Fully fix the movw/movt addend. The issue is not if the value is pcrel. It is whether we have a relocation or not. If we have a relocation, the static linker will select the upper bits. If we don't have a relocation, we have to do it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307730 91177308-0d34-0410-b5e6-96231b3b80d8