Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-04 02:27:31 +0400
committerJeff Johnston <jjohnstn@redhat.com>2009-04-04 02:27:31 +0400
commit051f7595ff6712ff18b7b9cb0890080bd85bfe5f (patch)
tree6f04317288d48e0ed6e5246c8a3b48e44c496b27 /libgloss/spu
parent823f6f665576bb98c3842a51b0cbd174f19ddf9c (diff)
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
* spu/crt0.S (_start): Place spu_id in the first agument register.
Diffstat (limited to 'libgloss/spu')
-rw-r--r--libgloss/spu/crt0.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/spu/crt0.S b/libgloss/spu/crt0.S
index 39ae588c3..4c4bac660 100644
--- a/libgloss/spu/crt0.S
+++ b/libgloss/spu/crt0.S
@@ -161,9 +161,13 @@ _start:
#ifdef _PROFILE
/* Call monstartup if profiling is enabled
*/
+#ifdef _STD_MAIN
+ ila $3,0
+#else
+ ori $3,$80,0
+#endif
brsl $LR, __monstartup
#endif
-
ori $3,$80,0
ori $4,$81,0
#ifndef _STD_MAIN