[all-commits] [llvm/llvm-project] 6f9ff1: [lld][ARM] support position independent thunks for...

Ties Stuij via All-commits all-commits at lists.llvm.org
Fri Jan 13 03:57:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f9ff1beee9d12aca0c9caa9ae0051dc6d0a718c
      https://github.com/llvm/llvm-project/commit/6f9ff1beee9d12aca0c9caa9ae0051dc6d0a718c
  Author: Ties Stuij <ties at stuij.se>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M lld/ELF/Thunks.cpp
    A lld/test/ELF/arm-bl-v4.s
    M lld/test/ELF/arm-bl-v4t.s
    M lld/test/ELF/arm-bx-v4t.s
    M lld/test/ELF/arm-thumb-interwork-thunk-v5.s
    M lld/test/ELF/arm-thunk-multipass-plt.s

  Log Message:
  -----------
  [lld][ARM] support position independent thunks for Armv4(T)

- Position independent thunks now work for both Armv4 and Armv4T
- Armv4 arm->arm thunks don't emit a BX anymore, which doesn't exist for the
  arch. This fixes https://github.com/llvm/llvm-project/issues/50764.
- Armv4 and Armv4T both have the same arm->arm behaviour. Which also is
  desirable for the above ticket.

Reviewed By: MaskRay, peter.smith

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




More information about the All-commits mailing list