[all-commits] [llvm/llvm-project] 944f10: [ELF][PPC64] Don't copy ppc64BranchltIndex in repl...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 5 09:34:05 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 944f109ad778d53827b2473c8465985733c931b4
      https://github.com/llvm/llvm-project/commit/944f109ad778d53827b2473c8465985733c931b4
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M lld/ELF/Relocations.cpp

  Log Message:
  -----------
  [ELF][PPC64] Don't copy ppc64BranchltIndex in replaceWithDefined

replaceWithDefined is used by canonical PLT and copy relocations, which
imply that the symbol is preemptable. ppc64BranchltIndex is only used by
non-preemptable cases, and it can only be the default value in
replaceWithDefined.




More information about the All-commits mailing list