Fix a null pointer dereference when .got.plt is discarded.
This also adds a test for discarding .plt.
Paths
| Differential D114180
[ELF] Support discarding .got.plt ClosedPublic Authored by MaskRay on Nov 18 2021, 11:11 AM.
Details
Summary Fix a null pointer dereference when .got.plt is discarded. This also adds a test for discarding .plt.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 19 2021, 2:30 AM Closed by commit rG2997441b85c0: [ELF] Support discarding .got.plt (authored by MaskRay). · Explain WhyNov 19 2021, 10:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 388562 lld/ELF/SyntheticSections.cpp
lld/test/ELF/linkerscript/discard-plt.s
|