mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
Minor crt0 improvement for moxie
This commit is contained in:
parent
f0b04035b1
commit
d661917b17
@ -1,3 +1,7 @@
|
||||
2010-10-02 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* moxie/crt0.S (_start): Minor optimizations to __start.
|
||||
|
||||
2010-09-23 Mike Frysinger <vapier@gentoo.org>
|
||||
Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
|
@ -19,11 +19,11 @@
|
||||
.type __start,@function
|
||||
__start:
|
||||
_start:
|
||||
ldi.l $sp, _stack /* load up stack pointer */
|
||||
ldi.l $fp, 0x0 /* zero fp to allow unwinders to stop */
|
||||
ldi.l $sp, (_stack-12)/* load up stack pointer with space
|
||||
for stack frame. */
|
||||
xor $fp, $fp /* zero fp to allow unwinders to stop */
|
||||
|
||||
/* zero the bss area */
|
||||
dec $sp, 12
|
||||
ldi.l $r0, __bss_start__
|
||||
ldi.l $r1, __bss_end__
|
||||
sub.l $r1, $r0
|
||||
|
Loading…
x
Reference in New Issue
Block a user