RE: newlib & libgcov

2008-06-16 Thread Bingfeng Mei
ei Cc: gcc@gcc.gnu.org Subject: Re: newlib & libgcov > Hello, > In our GCC porting, we use newlib instead of libc. Today I tried to use > profiling feedback based optimization with option -fprofile-arcs. But > the executable doesn't produce .gcda file. I examined the disassemb

Re: newlib & libgcov

2008-06-15 Thread Jan Hubicka
> Hello, > In our GCC porting, we use newlib instead of libc. Today I tried to use > profiling feedback based optimization with option -fprofile-arcs. But > the executable doesn't produce .gcda file. I examined the disassembled > binary file and found the following functions are basically just d

Re: newlib & libgcov

2008-06-12 Thread Adam Nemet
"Bingfeng Mei" <[EMAIL PROTECTED]> writes: > Both -Dinhibit_libc and -DL_gcov are used as shown in our building log > file. I guess -Dinhibit_libc is added because we used newlibc instead > of glibc. I tried to grep these functions in newlibc and didn't find > them. My question is how to enable g

newlib & libgcov

2008-06-12 Thread Bingfeng Mei
Hello, In our GCC porting, we use newlib instead of libc. Today I tried to use profiling feedback based optimization with option -fprofile-arcs. But the executable doesn't produce .gcda file. I examined the disassembled binary file and found the following functions are basically just dummy ones: