[PATCH] D54720: [PPC64] toc-indirect to toc-relative relaxation.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 17 10:13:41 PST 2019


sfertile updated this revision to Diff 182331.
sfertile added a comment.

Fixed look up to handle .toc sections that don't have a relocation for every entry and added a comprehensive test to verify we perform the correct optimization on all access types in this case.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D54720

Files:
  ELF/Arch/PPC64.cpp
  ELF/Arch/X86_64.cpp
  ELF/InputSection.cpp
  ELF/Relocations.cpp
  ELF/Relocations.h
  ELF/Target.cpp
  ELF/Target.h
  test/ELF/Inputs/ppc64-global.s
  test/ELF/Inputs/ppc64-local.s
  test/ELF/Inputs/ppc64-toc-opt-defs.s
  test/ELF/Inputs/ppc64-toc-opt-shared.s
  test/ELF/ppc64-func-entry-points.s
  test/ELF/ppc64-got-indirect.s
  test/ELF/ppc64-relocs.s
  test/ELF/ppc64-toc-relax-jumptable.s
  test/ELF/ppc64-toc-relax.s
  test/ELF/ppc64-tocopt-constants-in-toc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54720.182331.patch
Type: text/x-patch
Size: 28089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190117/eea815b0/attachment.bin>


More information about the llvm-commits mailing list