LLD is producing ELF sections whose files offsets are not correctly aligned. Example elfdump:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[13] .bss NOBITS 00000000000062e0 0062c8 0013e8 00 WA 0 0 32
[14] .data PROGBITS 00000000000076e0 0076e0 0000f0 00 WA 0 0 32
This ELF was produced with a linker script that has the following directives:
LLD is producing ELF sections whose files offsets are not correctly aligned. Example elfdump:
This ELF was produced with a linker script that has the following directives:
Where CAP_ALIGN is appropriate . Sadly cannot find the exact commit where this started.