diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-02-18 19:32:24 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-02-18 19:32:24 +0000 |
commit | 325d68a204d2d4eb4fd91cf532726b9aaf40496b (patch) | |
tree | edea3ae7060be018b793862c9677646c39d554f2 /libgloss | |
parent | af5d939fc89001e335d1f1c53f68e48cf830dcbd (diff) | |
download | cygnal-325d68a204d2d4eb4fd91cf532726b9aaf40496b.tar.gz cygnal-325d68a204d2d4eb4fd91cf532726b9aaf40496b.tar.bz2 cygnal-325d68a204d2d4eb4fd91cf532726b9aaf40496b.zip |
* mips/crt0.S (zerobss): Reload __memsize after call.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/mips/crt0.S | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 78525c74d..db382d90f 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2003-02-18 Richard Sandiford <rsandifo@redhat.com> + + * mips/crt0.S (zerobss): Reload __memsize after call. + 2003-02-17 Chris Demetriou <cgd@broadcom.com> * mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types. diff --git a/libgloss/mips/crt0.S b/libgloss/mips/crt0.S index acb160df0..0c919f798 100644 --- a/libgloss/mips/crt0.S +++ b/libgloss/mips/crt0.S @@ -154,6 +154,7 @@ zerobss: /* NOTE: a0[0] contains the amount of memory available, and not the last memory address. */ + la a0, __memsize lw t0,0(a0) # last address of memory available la t1,K0BASE # cached kernel memory addu t0,t0,t1 # get the end of memory address |