diff options
author | Eric Christopher <echristo@gmail.com> | 2005-04-19 18:03:18 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2005-04-19 18:03:18 +0000 |
commit | 39511478d017552457061a25b363180631e223b2 (patch) | |
tree | 2ac2ba0d71c821b2a38349fae829d999616b51be /libgloss | |
parent | f24a695d08372db848b056f74286cdd33c5b87d8 (diff) | |
download | newlib-39511478d017552457061a25b363180631e223b2.zip newlib-39511478d017552457061a25b363180631e223b2.tar.gz newlib-39511478d017552457061a25b363180631e223b2.tar.bz2 |
2005-04-19 Eric Christopher <echristo@redhat.com>
* mips/regs.S: Sign extend constants for mips64 and unify
address handling.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/mips/regs.S | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 8cbffb2..1ccc412 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2005-04-19 Eric Christopher <echristo@redhat.com> + + * mips/regs.S: Sign extend constants for mips64 and unify + address handling. + 2005-04-12 Shaun Jackman <sjackman@gmail.com> * libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due diff --git a/libgloss/mips/regs.S b/libgloss/mips/regs.S index 17cc15a..bdf933f 100644 --- a/libgloss/mips/regs.S +++ b/libgloss/mips/regs.S @@ -53,15 +53,16 @@ #define fp1 $f1 /* Useful memory constants: */ -#define K0BASE 0x80000000 #ifndef __mips64 +#define K0BASE 0x80000000 #define K1BASE 0xA0000000 #define K0BASE_ADDR ((char *)K0BASE) #define K1BASE_ADDR ((char *)K1BASE) #else -#define K1BASE 0xFFFFFFFFA0000000LL +#define K0BASE 0xFFFFFFFF80000000 +#define K1BASE 0xFFFFFFFFA0000000 #define K0BASE_ADDR ((char *)0xFFFFFFFF80000000LL) -#define K1BASE_ADDR ((char *)K1BASE) +#define K1BASE_ADDR ((char *)0xFFFFFFFFA0000000LL) #endif #define PHYS_TO_K1(a) ((unsigned)(a) | K1BASE) |