diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-05-12 07:19:11 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-05-12 07:19:11 +0000 |
commit | 6f586731c52302c988f3ac6245621b0da6e077c8 (patch) | |
tree | 2c2409a928594c9ee4506e76eeda298c5b440c6d /llvm/lib/Support/APInt.cpp | |
parent | 3a00b41e43cdff4544340da0ea40408e99246982 (diff) | |
download | bcm5719-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