The first .got.plt entries are used by the first plt entry to support lazy loading. With that deleted I can run programs with LD_BIND_NOW, but not without.
The value of the first entry does seem unused. I can boostrap and run all tests with this.
Differential D20028
Delete dead code. Document live code. Needs ReviewPublic Authored by • espindola on May 6 2016, 12:30 PM.
Details
Summary The first .got.plt entries are used by the first plt entry to support lazy loading. With that deleted I can run programs with LD_BIND_NOW, but not without. The value of the first entry does seem unused. I can boostrap and run all tests with this.
Diff Detail
Revision Contents
Diff 56445 ELF/OutputSections.cpp
ELF/Target.h
ELF/Target.cpp
|