commit | b3065539bdb1e7e82406ae6b20a9241f991757eb | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Tue Jan 06 07:12:52 2015 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Tue Jan 06 07:12:52 2015 +0000 |
tree | 57e7b0c17fce72e7079d4e345e0bb9c2a9ba39b0 | |
parent | 7a7ed3cec2651096f89aa4e80284f1f0a02a2ae3 [diff] |
X86: Don't make illegal GOTTPOFF relocations "ELF Handling for Thread-Local Storage" specifies that R_X86_64_GOTTPOFF relocation target a movq or addq instruction. Prohibit the truncation of such loads to movl or addl. This fixes PR22083. Differential Revision: http://reviews.llvm.org/D6839 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225250 91177308-0d34-0410-b5e6-96231b3b80d8