diff options
author | Rong Xu <xur@google.com> | 2013-01-25 13:55:06 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2013-01-25 13:55:06 +0000 |
commit | 03b3569280896ea4ac53fe2d018fc186090109fb (patch) | |
tree | 3fb60324fcf3c6da60a54a55c42c1e90607e222b | |
parent | d35d76ac43cd978848d0e65f8dc624c6b04a03db (diff) |
2013-01-24 Rong Xu <xur@google.com>
* libgcc/libgcov.c (gcov_merge_gcda_file): summary_pos
should always be 0 for kernel fdo.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7@195468 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgcc/libgcov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/libgcov.c b/libgcc/libgcov.c index a32f003038f..f470fbf1566 100644 --- a/libgcc/libgcov.c +++ b/libgcc/libgcov.c @@ -1081,7 +1081,9 @@ rewrite:; if (!summary_pos) { memset (&program, 0, sizeof (program)); +#ifndef __GCOV_KERNEL__ summary_pos = eof_pos; +#endif } /* Merge the summaries. */ |