From 0dfbb9e09d99b4f74de3cefc3c8b210d2b6f5f7d Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 10 May 2005 16:10:54 +0000 Subject: * libgcov.c (create_file_directory): New function. Create directory for the given file name. (gcov_max_filename): New static var. Keeps size of the longest file name. (gcov_exit): Always try to create directory for output file. Relocate each filename basing on environment vars. (__gcov_init): Remember the longest file name. * tsystem.h: include filenames.h to get IS_DIR_SEPARATOR * doc/gcov.texi (Cross-profiling): New node documenting cross-profiling management. * doc/invoke.texi (-fprofile-arcs): Add xref to cross-profiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99523 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tsystem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/tsystem.h') diff --git a/gcc/tsystem.h b/gcc/tsystem.h index 1ed0cde6841..bc8384e1739 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -131,4 +131,7 @@ extern int errno; unreachable default case of a switch. Do not use gcc_assert(0). */ #define gcc_unreachable() (abort ()) +/* Filename handling macros. */ +#include "filenames.h" + #endif /* ! GCC_TSYSTEM_H */ -- cgit v1.2.1