aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config.in
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-01-13 11:17:03 +0100
committerMartin Liska <mliska@suse.cz>2021-03-03 14:21:45 +0100
commit00d79dc4be0b86ec564cfa2b32c47de6c07449e6 (patch)
treee8a0decbad8ba16951cd9f0861e09b67063d8f1c /libgcc/config.in
parent8cfa06570dd5eae2f074e1a1388004a60edfd01f (diff)
gcov: use mmap pools for KVP.
gcc/ChangeLog: PR gcov-profile/97461 * gcov-io.h (GCOV_PREALLOCATED_KVP): Remove. libgcc/ChangeLog: PR gcov-profile/97461 * config.in: Regenerate. * configure: Likewise. * configure.ac: Check sys/mman.h header file * libgcov-driver.c (struct gcov_kvp): Remove static pre-allocated pool and use a dynamic one. * libgcov.h (MMAP_CHUNK_SIZE): New. (gcov_counter_add): Use mmap to allocate pool for struct gcov_kvp.
Diffstat (limited to 'libgcc/config.in')
-rw-r--r--libgcc/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcc/config.in b/libgcc/config.in
index 5be5321d258..f93c64a00c3 100644
--- a/libgcc/config.in
+++ b/libgcc/config.in
@@ -49,6 +49,9 @@
/* Define to 1 if you have the <sys/auxv.h> header file. */
#undef HAVE_SYS_AUXV_H
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#undef HAVE_SYS_MMAN_H
+
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H