.rela.plt may only contain R_*_{,I}RELATIVE relocations and not need a symbol table link. bfd/gold fallbacks to sh_link=0 in this case. Without this patch, ld.lld --strip-all caused lld to dereference a null pointer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
ELF/SyntheticSections.cpp | ||
---|---|---|
1498–1500 ↗ | (On Diff #171767) | If ?: is nested, plain if ~ else if is perhaps easier to read. |