[all-commits] [llvm/llvm-project] ad45df: [ELF][PPC64] Remove unneeded PPC64PCRelLongBranchT...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Nov 30 11:33:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad45df91ad6ad01234ded221d1cbdc168eaee53b
      https://github.com/llvm/llvm-project/commit/ad45df91ad6ad01234ded221d1cbdc168eaee53b
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M lld/ELF/Thunks.cpp
    M lld/test/ELF/ppc64-pcrel-cross-link.s
    M lld/test/ELF/ppc64-pcrel-long-branch-error.s
    M lld/test/ELF/ppc64-pcrel-long-branch.s

  Log Message:
  -----------
  [ELF][PPC64] Remove unneeded PPC64PCRelLongBranchThunk

This reverts the PPC64PCRelLongBranchThunk part from D86706.
PPC64PCRelLongBranchThunk is the same as PPC64R12SetupStub.

Use `__gep_setup_` instead of `__long_branch_pcrel_` for the stub symbol name
as it more closely indicates the operation.
(Note: GNU ld uses `*.long_branch.*` and `*.plt_branch.*`).

Reviewed By: NeHuang, nemanjai

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




More information about the All-commits mailing list