aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index d020e97..04fb10c 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1313,6 +1313,7 @@ struct bb
#ifdef BLOCK_PROFILER_CODE
BLOCK_PROFILER_CODE
#else
+#ifndef inhibit_libc
/* Simple minded basic block profiling output dumper for
systems that don't provde tcov support. At present,
@@ -1483,8 +1484,9 @@ __bb_init_func (struct bb *blocks)
bb_head = blocks;
}
-#endif /* !BLOCK_PROFILER_CODE */
-#endif /* L_bb */
+#endif /* not inhibit_libc */
+#endif /* not BLOCK_PROFILER_CODE */
+#endif /* L_bb */
/* frills for C++ */