[PATCH] D38907: Give .note.gnu.build-id section alignment 4
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 14:35:06 PDT 2017
On Mon, Oct 30, 2017 at 01:31:58PM -0700, Roland McGrath via llvm-commits wrote:
> Despite what the so-called "spec" says, in actual fact, the note header's
> fields are 32-bit in both ELFCLASS32 and ELFCLASS64 and the expected
> alignment is always 4.
I would go one step further and throw a warning if a note section is not
a multiple of 4.
Joerg
More information about the llvm-commits
mailing list