Do not remove .gcno files when linking.

* libltdl/config/ltmain.m4sh (func_mode_link): When removing
potential output files before linking, do not remove *.gcno
profile information GCC outputs next to object files in `.libs'.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2008-09-04 20:57:17 +02:00
parent c7e6bd3060
commit 2c47edfdef
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Do not remove .gcno files when linking.
* libltdl/config/ltmain.m4sh (func_mode_link): When removing
potential output files before linking, do not remove *.gcno
profile information GCC outputs next to object files in `.libs'.
Report by Vincent Torri.
2008-09-01 Peter O'Gorman <peter@pogma.com>
Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl

View File

@ -5963,7 +5963,7 @@ func_mode_link ()
tempremovelist=`$ECHO "$output_objdir/*"`
for p in $tempremovelist; do
case $p in
*.$objext)
*.$objext | *.gcno)
;;
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
if test "X$precious_files_regex" != "X"; then