gcov: Add fork(), etc. gcov wrappers

The compiler wraps fork(), etc. system calls if coverage generation is enabled.
These functions must be provided by the system.  For RTEMS, they just return an
error status.

Update #4670.
This commit is contained in:
Sebastian Huber
2022-06-27 20:03:45 +02:00
parent a13047ca0e
commit 2bc233fe58
2 changed files with 95 additions and 0 deletions

View File

@@ -640,6 +640,7 @@ source:
- cpukit/libcsupport/src/ftruncate.c
- cpukit/libcsupport/src/ftrylockfile.c
- cpukit/libcsupport/src/funlockfile.c
- cpukit/libcsupport/src/gcovfork.c
- cpukit/libcsupport/src/getchark.c
- cpukit/libcsupport/src/getdents.c
- cpukit/libcsupport/src/getegid.c