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:
authorNick Clifton <nickc@redhat.com>2003-07-31 20:21:20 +0400
committerNick Clifton <nickc@redhat.com>2003-07-31 20:21:20 +0400
commit0302dfe5099eeec04eb8457af04566bb36833408 (patch)
tree4da5b30f1bbd31496a668cc71b2ad6f4fe1e63a7 /newlib/libc/sys/sysnecv850
parent49c12c3f53071ab0bca5b700ee291537f823ba47 (diff)
Allocate 4 slots on stack before calling main, in case it saves its argument
registers. Remove reference to deleted v850ea port. Do not use -mv850 when building for v850e target. This prevents the ctbp system register from being initialised.
Diffstat (limited to 'newlib/libc/sys/sysnecv850')
-rw-r--r--newlib/libc/sys/sysnecv850/crt0.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/sys/sysnecv850/crt0.S b/newlib/libc/sys/sysnecv850/crt0.S
index e988bad46..e006871b3 100644
--- a/newlib/libc/sys/sysnecv850/crt0.S
+++ b/newlib/libc/sys/sysnecv850/crt0.S
@@ -5,7 +5,7 @@
_start:
-#if defined __v850e__ || defined __v850ea__
+#if defined __v850e__
movea 255, r0, r20
mov 65535, r21
@@ -23,7 +23,7 @@ _start:
bl .L0
.L1:
jarl ___main, r31
- addi -12, sp, sp
+ addi -16, sp, sp
mov 0, r6
mov 0, r7
mov 0, r8
@@ -53,7 +53,7 @@ _start:
bl .L0
.L1:
jarl ___main, r31
- addi -12, sp, sp
+ addi -16, sp, sp
mov 0, r6
mov 0, r7
mov 0, r8