https://sourceware.org/bugzilla/show_bug.cgi?id=22444

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andreas Schwab from comment #6)
> But you won't get xword alignment only by aligning the sizes of the name and
> data fields, you also need to insert padding before the name field.

Since name is a string, we don't need to align name.  We only need to
pad name to align the note descriptor.  Lucky for us, "GNU" is 4 bytes.
So there are 4 words (2 xwords) before the note descriptor.  We don't
need to pad name in GNU notes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to