Shdr's are not necessarily size 2^n -- that's an accident of ELF64_Shdr's contents.
There is no reason to align to that boundary if they are.
This fixes an assert fail for ELF32 (which requires more patches)
Differential D148666
[BOLT] Adjust Shdr alignment urnathan on Apr 18 2023, 3:26 PM. Authored by
Details
Shdr's are not necessarily size 2^n -- that's an accident of ELF64_Shdr's contents. This fixes an assert fail for ELF32 (which requires more patches)
Diff Detail
|