]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcov: update comment about padding
authorMartin Liska <mliska@suse.cz>
Tue, 22 Jun 2021 06:43:41 +0000 (08:43 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 22 Jun 2021 06:43:41 +0000 (08:43 +0200)
gcc/ChangeLog:

* gcov-io.h: Remove padding entries.

gcc/gcov-io.h

index ff92afe63dff18c35a2e6575534b2ef9cc3ccd2e..538bee81263a88e35dbb47af79c0ff2765874897 100644 (file)
@@ -45,12 +45,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    stored as two 32 bit numbers, the low part first.
    The number of bytes is stored, followed by the
    string. Zero length and NULL strings are simply stored as a length
-   of zero (they have no trailing NUL or padding).
+   of zero (they have no trailing NUL).
 
        int32:  byte3 byte2 byte1 byte0 | byte0 byte1 byte2 byte3
        int64:  int32:low int32:high
        string: int32:0 | int32:length char* char:0
-       padding: | char:0 | char:0 char:0 | char:0 char:0 char:0
        item: int32 | int64 | string
 
    The basic format of the notes file is