"Mohamed Shafi" <shafitvm@xxxxxxxxx> writes: > I also couldn't find any particular startup file required for profiling. > Does this mean that profiling is not supported for any powerpc target > build with newlib? That appears to be the case. I'm not sure why the file newlib/libgloss/rs6000/mcount.S was created. It seems to simply obscure the fact that -pg does not work for powerpc newlib. In my opinion it would be better to get a link error, making it clear that you need to provide a version of _mcount appropriate for your system. > Is there support for profiling for powerpc target with glibc? Yes. Ian