[all-commits] [llvm/llvm-project] f4a356: [ELF] Fix spurious GOT/PLT assertion failure when ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Apr 20 22:50:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4a3569d0ad61907692fe10b1ffe1fa7763e9c26
https://github.com/llvm/llvm-project/commit/f4a3569d0ad61907692fe10b1ffe1fa7763e9c26
Author: Fangrui Song <i at maskray.me>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M lld/ELF/SyntheticSections.cpp
A lld/test/ELF/linkerscript/discard-section-dynsym.s
M lld/test/ELF/linkerscript/discard-section-err.s
Log Message:
-----------
[ELF] Fix spurious GOT/PLT assertion failure when .dynsym is discarded
Linux kernel arch/arm64/kernel/vmlinux.lds.S discards .dynsym . D123985 triggers
a spurious assertion failure. Detect the case with
`!mainPart->dynSymTab->getParent()`.
More information about the All-commits
mailing list