https://sourceware.org/bugzilla/show_bug.cgi?id=33259
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- From: https://sourceware.org/pipermail/gnu-gabi/2017q1/000201.html +\subsection{Alignment of Note Sections} + +All entries in a \texttt{PT_NOTE} segment have the same alignment which +equals to the {\tt p_align} field in program header. + +According to gABI, each note entry should be aligned to 4 bytes in +32-bit objects or 8 bytes in 64-bit objects. But \code{.note.ABI-tag} +section (see Section~\ref{sec_abi_tag}) and \code{.note.gnu.build-id} +section (see Section~\ref{sec_build_id}) are aligned to 4 bytes in +both 32-bit and 64-bit objects. Note parser should use {\tt p_align} +for note alignment, instead of assuming alignment based on ELF file class. + -- You are receiving this mail because: You are on the CC list for the bug.