I think it makes sense to fix it now, because George (grimar) is preparing a patch allowing to use synthetic sections in linker script.
Normally this is done inside InputSection::writeTo, but synthetic sections were initially output sections and don't do this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. Yeah, this is a big issue if we have multiple synthetic sections in an output section. Thank you for fixing.