This fixes PR35223.
Here I enabled SHF_MERGE section content merging for -r like
we do for regular linking.
Differential D40026
[ELF] - Allow applying SHF_MERGE optimization for relocatable output. grimar on Nov 14 2017, 6:28 AM. Authored by
Details This fixes PR35223. Here I enabled SHF_MERGE section content merging for -r like
Diff Detail Event Timeline
|
... already been merged by sh_entsize. If -r was given, we want to create an output section for each mergeable input section because we don't want to mix two sections with different sh_entsize.