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

             Bug #: 13482
           Summary: inaccurate documentation
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: dave.paw...@gmail.com
    Classification: Unclassified


http://sources.redhat.com/binutils/docs-2.22/as/Version.html#Version
"This directive creates a .note section and places into it an ELF formatted
note of type NT_VERSION. The note's name is set to string."

Inaccurate.

.version "Version 1.0"
in arm sourcecode
running arm-linux-elf-as
GNU assembler (GNU Binutils) 2.22.51.20111122
Copyright 2011 Free Software Foundation, Inc.





Causes 


readelf: Warning: corrupt note found at offset 18 into core notes
readelf: Warning:  type: 1, namesize: 0000000c, descsize: 00000000


It would appear that the string must not contain White space.
Change to Version1.0 and the error goes

DaveP

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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