| commit | d41df13ab36b224a622c0bdf28a96a0dee79db77 | [log] [tgz] |
|---|---|---|
| author | Jan Beulich <jbeulich@suse.com> | Mon Jan 13 13:32:19 2025 +0100 |
| committer | Jan Beulich <jbeulich@suse.com> | Mon Jan 13 13:32:19 2025 +0100 |
| tree | 6cd84e90dbff4fb3fd2f7d7de6b86d846f15b6dc | |
| parent | 046a89fb4045d87934ce280fcf68d26322f3fdf1 [diff] |
bfd/ELF: slightly "better" file alignment for object files
PR gas/32435
Commit 1f1b5e506bf0 ("bfd/ELF: restrict file alignment for object
files") caused an issue in the Linux kernels modpost utility, which was
building upon .rodata sections to be 4-byte aligned in the file when
they have 4-byte alignment. While we don't want to revert back to
original behavior, apply the same alignment "capping" as done originally
in two other places also for "ordinary" sections.