[all-commits] [llvm/llvm-project] 299744: [ELF] Support discarding .got.plt
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Nov 19 10:51:06 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2997441b85c0ec94425e83316d7e63c32d8c5770
https://github.com/llvm/llvm-project/commit/2997441b85c0ec94425e83316d7e63c32d8c5770
Author: Fangrui Song <i at maskray.me>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
M lld/ELF/SyntheticSections.cpp
A lld/test/ELF/linkerscript/discard-plt.s
Log Message:
-----------
[ELF] Support discarding .got.plt
Fix a null pointer dereference when .got.plt is discarded.
This also adds a test for discarding `.plt`.
Reviewed By: ikudrin
Differential Revision: https://reviews.llvm.org/D114180
More information about the All-commits
mailing list