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:
Jeff Johnston
2008-12-11 12:46:36 +00:00
parent 0751f22675
commit 2549caeff1
3 changed files with 18 additions and 1 deletions

View File

@@ -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