Profiling information for powerpc target - GCC 4.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am trying to generate profiling information for powerpc target
(rs600) using cross compiler version gcc 4.1.1 and newlib 1.14.0

After i compile a file with -pg option and execute it no gmon.out file
is produced.
When i disassemble the obj file i can find a call to _mcount.But when
i check the newlib sources the mcount call is actually a dummy
function with the following code

	.file	"mcount-dummy.S"
	.text
FUNC_START(_mcount)
	mflr	r11
	lwz	r0,4(sp)
	mtctr	r11
	mtlr	r0
	bctr
FUNC_END(_mcount)

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?
Is there support for profiling for powerpc target with glibc?

Thanks for your time,

Regards,
Shafi

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux