summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-05-12 07:19:11 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-05-12 07:19:11 +0000
commit6f586731c52302c988f3ac6245621b0da6e077c8 (patch)
tree2c2409a928594c9ee4506e76eeda298c5b440c6d /llvm/lib/Support/APInt.cpp
parent3a00b41e43cdff4544340da0ea40408e99246982 (diff)
downloadbcm5719-llvm-6f586731c52302c988f3ac6245621b0da6e077c8.tar.gz
bcm5719-llvm-6f586731c52302c988f3ac6245621b0da6e077c8.zip
[ELF] - Don't allow R_X86_64_TPOFF32 dynamic relocation when linking PIC
Both gold and bfd restrict that one: ld.bfd: test.o: relocation R_X86_64_TPOFF32 against `var' can not be used when making a shared object; recompile with -fPIC ld.gold: error: test.o: unsupported reloc 23 against global symbol var What looks reasonable because it is 32 bit one. Patch do the same. Differential revision: https://reviews.llvm.org/D33100 llvm-svn: 302881
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud