-
Bug
-
Resolution: Done-Errata
-
Minor
-
CentOS Stream 9
-
None
-
binutils-2.35.2-53.el9
-
None
-
None
-
1
-
rhel-sst-pt-gcc
-
ssg_platform_tools
-
19
-
25
-
1
-
False
-
-
No
-
Red Hat Enterprise Linux
-
GCC Sprint 6
-
Pass
-
binutils-2.35.2-54.el9
-
Automated
-
None
This is a result of a discussion in https://issues.redhat.com/browse/RHEL-26133. I'll quote Nick's comment below which describes the issue (or issues) very well:
Right - I have tracked down the problem. There are in fact two issues. Firstly objcopy's --section-alignment option, despite its name, only sets the contents of the SectionAlignment field in the PE file format's optional header. It does not (or did not) actually affect the alignment of any sections.
Secondly even setting the alignment with --set-section-alignment .sbat=512 does not work because all it does is to set the alignment field of the section. It does not force the section to change its virtual address to an aligned boundary.
I am working on a patch to fix both of these problems. But unless this is a real issue for systemd I intend to contribute it upstream and wait for it to trickle down to Fedora and CentOS and RHEL via the usual mechanisms.
- impacts account
-
RHEL-26133 systemd stub section alignment is not correct
- Closed
- links to
-
RHBA-2024:135302 binutils update