This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage notworking?
- From: Sebastien Decugis <sebastien dot decugis at ext dot bull dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 23 Jul 2004 16:29:58 +0200
- Subject: gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage notworking?
- Organization: Bull S.A.
Hi all,
I am trying to get some coverage information on a software, part of
which is written in (GNU) assembler.
I've experienced that:
$ gcc -c foo.c -o foo.o -g -fprofile-arcs -ftest-coverage
produces the files foo.o and foo.gcno,
but
$ gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage
only produces foo.o
I'm using gcc 3.4.1 with no particular configure flags.
Is it a normal behavior or is there a bug in gcc? I could not find any
information in the gcc manual.
Thanks,
Sebastien.