https://sourceware.org/bugzilla/show_bug.cgi?id=33259
Bug ID: 33259
Summary: .note.gnu.build-id alignment
Product: binutils
Version: 2.45
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: jbeulich at suse dot com
Target Milestone: ---
While for a long time the ELF spec has demanded that in 64-bit ELF SHT_NOTE
sections be padded to 8-byte boundaries (kind of implying 8-byte alignment), ld
continues to create .note.gnu.build-id with 4-byte alignment. When combined
with other .note sections (e.g. x86'es .note.gnu.property) the result may be
unparsable, even with backwards compatibility workarounds like readelf has it.
Blindly / unconditionally changing the alignment for 64-bit ELF to conform to
the spec may, however, also cause (compatibility) concerns. Which is why I'm
hesitant to simply make a patch, but rather wanted to solicit opinions first.
--
You are receiving this mail because:
You are on the CC list for the bug.