]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/ChangeLog
libgcov.c (gcov_crc32): Remove global var.
authorNathan Sidwell <nathan@acm.org>
Fri, 30 Dec 2011 18:08:56 +0000 (18:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 30 Dec 2011 18:08:56 +0000 (18:08 +0000)
commit04dbc287a6679cf4c922df5ae7e575367d1e25bd
treec7ea31b85836773aaf801df12303fd2c6f04d6f3
parent84de2982de7e43702bcb161191179b79406ae39c
libgcov.c (gcov_crc32): Remove global var.

* libgcov.c (gcov_crc32): Remove global var.
(free_fn_data): New function.
(buffer_fn_data): Pass in filename, more robust error recovery.
(crc32_unsigned): New function.
(gcov_exit): More robust detection of new program. More robust
error recovery.
(__gcov_init): Do not update program's crc here.

From-SVN: r182743
libgcc/ChangeLog
libgcc/libgcov.c