[all-commits] [llvm/llvm-project] f15b60: [ELF][PPC32] Support range extension thunks with a...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jan 25 22:34:31 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f15b60b3a2a20f68ba303c5e771a0552718eca8e
      https://github.com/llvm/llvm-project/commit/f15b60b3a2a20f68ba303c5e771a0552718eca8e
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-01-25 (Sat, 25 Jan 2020)

  Changed paths:
    M lld/ELF/Arch/PPC.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Thunks.cpp
    A lld/test/ELF/ppc32-long-thunk.s

  Log Message:
  -----------
  [ELF][PPC32] Support range extension thunks with addends

* Generalize the code added in D70637 and D70937. We should eventually remove the EM_MIPS special case.
* Handle R_PPC_LOCAL24PC the same way as R_PPC_REL24.

Reviewed By: Bdragon28

Differential Revision: https://reviews.llvm.org/D73424

(cherry picked from commit 70389be7a029bec3c45991a60b627445ef996120)




More information about the All-commits mailing list