[PATCH] D83504: [PowerPC] Implement R_PPC64_REL24_NOTOC local calls. callee has a TOC

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 13:30:38 PDT 2020


NeHuang updated this revision to Diff 277551.
NeHuang marked 2 inline comments as done.
NeHuang added a comment.

- Check if the offset computed in `PPC64R12SetupStub::writeTo` fits in 34 bits and report fatal error if it is too large.
- Use `__gep_setup` in the name for r12 set up stub and update test case accordingly.
- Address nits in the comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83504

Files:
  lld/ELF/Arch/PPC64.cpp
  lld/ELF/Target.h
  lld/ELF/Thunks.cpp
  lld/test/ELF/ppc64-pcrel-call-to-toc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83504.277551.patch
Type: text/x-patch
Size: 7261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/04ae9b38/attachment.bin>


More information about the llvm-commits mailing list