[PATCH] D114656: [ELF][PPC64] Remove unneeded PPC64PCRelLongBranchThunk. NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 26 12:41:20 PST 2021


MaskRay created this revision.
MaskRay added reviewers: NeHuang, stefanp, sfertile.
Herald added subscribers: shchenz, kbarton, arichardson, nemanjai, emaste.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This reverts the PPC64PCRelLongBranchThunk part from D86706 <https://reviews.llvm.org/D86706>.
PPC64PCRelLongBranchThunk is the same as PPC64R12SetupStub.

Change the stub symbol from `__gep_setup_` to `__long_branch_pcrel_`
(GNU ld uses `*.long_branch.*` and `*.plt_branch.*`).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114656

Files:
  lld/ELF/Thunks.cpp
  lld/test/ELF/ppc64-pcrel-call-to-toc.s
  lld/test/ELF/ppc64-pcrel-cross-link.s
  lld/test/ELF/ppc64-pcrel-long-branch-error.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114656.390109.patch
Type: text/x-patch
Size: 6271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211126/5f56b460/attachment.bin>


More information about the llvm-commits mailing list