2008-12-11 Ken Werner <ken.werner@de.ibm.com
* spu/crt0.S: Call __monstartup if profiling is enabled. * spu/Makefile.in: Add gcrt1.o gcrt2.o.
This commit is contained in:
@@ -158,6 +158,12 @@ _start:
|
||||
ila $3, _fini
|
||||
brsl $LR, atexit
|
||||
|
||||
#ifdef _PROFILE
|
||||
/* Call monstartup if profiling is enabled
|
||||
*/
|
||||
brsl $LR, __monstartup
|
||||
#endif
|
||||
|
||||
ori $3,$80,0
|
||||
ori $4,$81,0
|
||||
#ifndef _STD_MAIN
|
||||
|
Reference in New Issue
Block a user