aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-12-23 09:00:37 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-12-23 09:00:37 +0000
commit3bdf6baa251d5525bba29c132e12953e84c3b3ae (patch)
tree0c120690539c14d40ca96bd8edd070a108e4109f /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentb8e7ab823155c886ca78ead0b606161c5e441136 (diff)
downloadllvm-3bdf6baa251d5525bba29c132e12953e84c3b3ae.zip
llvm-3bdf6baa251d5525bba29c132e12953e84c3b3ae.tar.gz
llvm-3bdf6baa251d5525bba29c132e12953e84c3b3ae.tar.bz2
[ELF] - Allow using PLT relocations when "-z notext" is given.
This is part of PR35720. Currently LLD allows dynamic relocations against text when -z notext is given. Though for non-PIC relocations like R_X86_64_PC32 that does not work, we produce "relocation R_X86_64_PC32 cannot be used against shared object;" error because they may overflow in runtime. Solution implemented is to use PLT for them. Differential revision: https://reviews.llvm.org/D41541 llvm-svn: 321400
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions