.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
- rLLD LLVM Linker
- Build Status
Buildable 24352 Build 24351: arc lint + arc unit
Event Timeline
ELF/SyntheticSections.cpp | ||
---|---|---|
1496–1498 | If ?: is nested, plain if ~ else if is perhaps easier to read. |
If ?: is nested, plain if ~ else if is perhaps easier to read.