[all-commits] [llvm/llvm-project] b05cd6: MCInstrAnalysis: make GotPltSectionVA x86-32 specific
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed May 3 19:21:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b05cd680eac0196db73495643e6867c588c253de
https://github.com/llvm/llvm-project/commit/b05cd680eac0196db73495643e6867c588c253de
Author: Fangrui Song <i at maskray.me>
Date: 2023-05-03 (Wed, 03 May 2023)
Changed paths:
M llvm/include/llvm/MC/MCInstrAnalysis.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
Log Message:
-----------
MCInstrAnalysis: make GotPltSectionVA x86-32 specific
GotPltSectionVA is specific to x86-32 PIC PLT entries.
Let's remove the argument from the generic interface.
As a side effect of not requiring .got.plt, this simplification
addresses a subset of https://github.com/llvm/llvm-project/issues/62537
by enabling .plt dumping for some ld.bfd -z now linked x86-32/x86-64 images
without .got.plt
More information about the All-commits
mailing list