aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-22 08:43:41 +0200
committerMartin Liska <mliska@suse.cz>2021-06-22 08:43:41 +0200
commit6871b899b831b4cb36a24033557c835e53c0b07f (patch)
tree05e42927e92416aa15f4d22d5513e01f73e3fa09 /gcc
parente08a125b208e717f99caa991052537305ca75b6a (diff)
downloadgcc-6871b899b831b4cb36a24033557c835e53c0b07f.zip
gcc-6871b899b831b4cb36a24033557c835e53c0b07f.tar.gz
gcc-6871b899b831b4cb36a24033557c835e53c0b07f.tar.bz2
gcov: update comment about padding
gcc/ChangeLog: * gcov-io.h: Remove padding entries.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcov-io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index ff92afe..538bee8 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -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