[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
Loading
Please sign in to comment