[all-commits] [llvm/llvm-project] 7f8640: [lld] Add -z mark-plt support for X86_64 (#206002)

Phoebe Wang via All-commits all-commits at lists.llvm.org
Tue Sep 22 20:49:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f8640b7bdab5a79ffc02e1a039c09217459f1f9
      https://github.com/llvm/llvm-project/commit/7f8640b7bdab5a79ffc02e1a039c09217459f1f9
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/test/ELF/x86-64-plt.s

  Log Message:
  -----------
  [lld] Add -z mark-plt support for X86_64 (#206002)

Add option [no]mark-plt to enable it. Dynamic linker can change PLT
entries with JMPABS instruction on supported targets.

Ref.:
https://maskray.me/blog/2021-09-19-all-about-procedure-linkage-table#x86-plt-rewriting

Assisted-by: Claude Sonnet 4.6

---------

Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list