While the name field of an ELF note is padded to a 4-byte boundary,
the ELF gABI says that "Such padding is not included in namesz."

http://www.caldera.com/developers/gabi/latest/ch5.pheader.html#note_section

The code in obj_elf_version in obj-elf.c does include the padding in
namesz.

-- 
           Summary: namesz field improperly rounded in elf version notes
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: djg at cray dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=3456

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to