diff options
author | Nick Clifton <nickc@redhat.com> | 2003-07-31 16:21:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-07-31 16:21:20 +0000 |
commit | 0302dfe5099eeec04eb8457af04566bb36833408 (patch) | |
tree | 4da5b30f1bbd31496a668cc71b2ad6f4fe1e63a7 /newlib/libc/sys/sysnecv850/crt0.S | |
parent | 49c12c3f53071ab0bca5b700ee291537f823ba47 (diff) | |
download | cygnal-0302dfe5099eeec04eb8457af04566bb36833408.tar.gz cygnal-0302dfe5099eeec04eb8457af04566bb36833408.tar.bz2 cygnal-0302dfe5099eeec04eb8457af04566bb36833408.zip |
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/crt0.S')
-rw-r--r-- | newlib/libc/sys/sysnecv850/crt0.S | 6 |
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 |