summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-17 19:43:34 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-17 19:43:34 +0000
commitb6b37543c4f06f3e16f375f0a9bc7eaab6ce89e4 (patch)
tree252952abc06e8a29e55ed6c3e9c48a36641ca00d /gcc/doc
parent116d575b68536cd6caca51dc03fa067192f46002 (diff)
downloadgcc-b6b37543c4f06f3e16f375f0a9bc7eaab6ce89e4.tar.gz
2010-10-17 Kai Tietz <kai.tietz@onevision.com>
* libgcov.c (create_file_directory): Enable it for win32 case. (gcov_exit): De-couple GCOV_PREFIX and GCOV_PREFIX_STRIP. * doc/gcov.texi (GCOV_PREFIX): Adjusted. (GCOV_PREFIX_SKIP): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/gcov.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index 3f48f3b3ec6..4c71e1950a1 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -554,15 +554,15 @@ can relocate the data files based on two environment variables:
@itemize @bullet
@item
GCOV_PREFIX contains the prefix to add to the absolute paths
-in the object file. Prefix must be absolute as well, otherwise its
-value is ignored. The default is no prefix.
+in the object file. Prefix can be absolute, or relative. The
+default is no prefix.
@item
GCOV_PREFIX_STRIP indicates the how many initial directory names to strip off
the hardwired absolute paths. Default value is 0.
-@emph{Note:} GCOV_PREFIX_STRIP has no effect if GCOV_PREFIX is undefined, empty
-or non-absolute.
+@emph{Note:} If GCOV_PREFIX_STRIP is set without GCOV_PREFIX is undefined,
+ then a relative path is made out of the hardwired absolute paths.
@end itemize
For example, if the object file @file{/user/build/foo.o} was built with