diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-23 19:06:12 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-23 19:06:12 +0000 |
commit | 6ae5c86b5ab147fa9377ca5115fa62f87637e93c (patch) | |
tree | 120d4121e569df29e89bcc76e2284d4728aacc70 /libgloss | |
parent | fe431b2430f632f8083ae70b31d5b6d48f060687 (diff) | |
download | newlib-6ae5c86b5ab147fa9377ca5115fa62f87637e93c.zip newlib-6ae5c86b5ab147fa9377ca5115fa62f87637e93c.tar.gz newlib-6ae5c86b5ab147fa9377ca5115fa62f87637e93c.tar.bz2 |
2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* m32r/crt0.S (_start): Allow _stack to be placed anywhere
in memory.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/m32r/crt0.S | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index fb8ade5..807fe31 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * m32r/crt0.S (_start): Allow _stack to be placed anywhere + in memory. + 2003-06-06 Stan Cox <scox@redhat.com> Jeff Johnston <jjohnstn@redhat.com> Anthony Green <green@redhat.com> diff --git a/libgloss/m32r/crt0.S b/libgloss/m32r/crt0.S index f60a1a6..7c22f5a 100644 --- a/libgloss/m32r/crt0.S +++ b/libgloss/m32r/crt0.S @@ -3,7 +3,8 @@ .global _start _start: - ld24 sp, _stack + seth sp, #shigh(_stack) + add3 sp, sp, #low(_stack) ldi fp, #0 # Clear the BSS. Do it in two parts for efficiency: longwords first |