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
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')
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/spu/crt0.S6
2 files changed, 9 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 1d913aaa5..48b5c3b23 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-03 Ken Werner <ken.werner@de.ibm.com>
+
+ * spu/crt0.S (_start): Place spu_id in the first agument register.
+
2009-03-16 Jeff Johnston <jjohnstn@redhat.com>
* m32r/m32r-stub.c: Replace with one from newer version of gdb.
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