[PATCH] D82816: [LLD][PowerPC] Implement R_PPC64_REL24_NOTOC calls, callee also has no TOC

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 20:36:41 PDT 2020


NeHuang updated this revision to Diff 276305.
NeHuang marked an inline comment as not done.
NeHuang added a comment.

- Keep only one lit test with one input file to cover all the cases:
  1. local linkage callee with `st_other=0`
  2. local linkage callee with `st_other=1`
  3. global linkage callee with `st_other=0`
  4. global linkage callee with `st_other=1`

- Put the check of all three unimplemented protocols in `PPC64::needsThunk`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82816/new/

https://reviews.llvm.org/D82816

Files:
  lld/ELF/Arch/PPC64.cpp
  lld/test/ELF/Inputs/ppc64-callee-global-hidden.s
  lld/test/ELF/ppc64-pcrel-call-to-pcrel.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82816.276305.patch
Type: text/x-patch
Size: 6996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/46a6819f/attachment.bin>


More information about the llvm-commits mailing list