diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-10-17 00:48:20 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-10-17 00:48:20 +0000 |
commit | 82281980494b53dd7ace37134ed1244cdb3e6d47 (patch) | |
tree | c84f130b6e83906120076feb8d7460bb29e87f91 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cdd2792aa6cf61c31928348744db1fdff0da0616 (diff) | |
download | llvm-82281980494b53dd7ace37134ed1244cdb3e6d47.zip llvm-82281980494b53dd7ace37134ed1244cdb3e6d47.tar.gz llvm-82281980494b53dd7ace37134ed1244cdb3e6d47.tar.bz2 |
[ELF2/PPC64] Don't create .plt entries for weak undef symbols
Instead of specifically creating .plt entries for weak undef symbols, mirror
the logic in r250584, and use canBePreempted to determine is a REL24 relocation
needs a .plt entry. This might cause relocateOne to be called for a weak undef
symbol, with a REL24 relocation, but ignore this as a special case (this will
cause SA == 0, which won't happen under any other circumstance).
llvm-svn: 250597
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions