[all-commits] [llvm/llvm-project] 7b3912: [PowerPC] Fix thunk alignment issue when using pc-...

Victor Huang via All-commits all-commits at lists.llvm.org
Mon Aug 17 07:10:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b391245d8eab16d1dfabde9f67a97fa9809ab49
      https://github.com/llvm/llvm-project/commit/7b391245d8eab16d1dfabde9f67a97fa9809ab49
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Thunks.cpp
    M lld/test/ELF/ppc64-bsymbolic-toc-restore.s
    M lld/test/ELF/ppc64-call-reach.s
    M lld/test/ELF/ppc64-dtprel.s
    M lld/test/ELF/ppc64-ifunc.s
    M lld/test/ELF/ppc64-local-dynamic.s
    M lld/test/ELF/ppc64-long-branch-init.s
    M lld/test/ELF/ppc64-long-branch-rel14.s
    M lld/test/ELF/ppc64-long-branch.s
    M lld/test/ELF/ppc64-pcrel-call-to-extern.s
    M lld/test/ELF/ppc64-pcrel-call-to-toc.s
    M lld/test/ELF/ppc64-plt-stub-compatible.s
    M lld/test/ELF/ppc64-plt-stub.s
    M lld/test/ELF/ppc64-tls-gd.s
    M lld/test/ELF/ppc64-toc-call-to-pcrel.s
    M lld/test/ELF/ppc64-toc-restore-recursive-call.s
    M lld/test/ELF/ppc64-toc-restore.s

  Log Message:
  -----------
  [PowerPC] Fix thunk alignment issue when using pc-rel instruction

Thunk alignment is added in thie patch when using pc-rel instructions
to avoid crossing the 64 byte boundary.

Patched by: nemanjai, NeHuang
Reviewed By: sfertile, MaskRay

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




More information about the All-commits mailing list