llvm-project
ebc123e0 - [ELF] Create some synthetic sections only if !relocatable

Commit
1 year ago
[ELF] Create some synthetic sections only if !relocatable `.rela.dyn` is currently created outside of the `config->hasDynSymTab` condition. In relocatable links, `.rela.dyn` will be discarded by `removeUnusedSyntheticSections`. It's better than suppress the creation so that .relr.auth.dyn support (#96496) does not need to adjust `removeUnusedSyntheticSections`.
Author
Parents
Loading