diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-12-11 20:05:38 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-12-11 20:05:38 +0000 |
commit | 0e859ad10fc088ebccf03cb99fb39bbd90eae899 (patch) | |
tree | 442eaa7d97ef4aa54972b9151b2489126b0e1e36 /newlib/libc/include/machine | |
parent | 7dd0c330975c6a1452d829471ba68543d5e8ab5c (diff) | |
download | newlib-0e859ad10fc088ebccf03cb99fb39bbd90eae899.zip newlib-0e859ad10fc088ebccf03cb99fb39bbd90eae899.tar.gz newlib-0e859ad10fc088ebccf03cb99fb39bbd90eae899.tar.bz2 |
2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* configure.host: Add lm32
* libc/include/machine/ieeefp.h: Add __lm32__
* libc/include/machine/setjmp.h: Add __lm32__
* libc/machine/configure.in: Add lm32
* libc/machine/configure: Regenerated.
* libc/machine/lm32/aclocal.m4: New file.
* libc/machine/lm32/configure.in: Ditto.
* libc/machine/lm32/configure: Ditto.
* libc/machine/lm32/Makefile.am: Ditto.
* libc/machine/lm32/Makefile.in: Ditto.
* libc/machine/lm32/setjmp.s: Ditto.
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r-- | newlib/libc/include/machine/ieeefp.h | 4 | ||||
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h index 9384a87..b3c7937 100644 --- a/newlib/libc/include/machine/ieeefp.h +++ b/newlib/libc/include/machine/ieeefp.h @@ -149,6 +149,10 @@ #define __IEEE_LITTLE_ENDIAN #endif +#ifdef __lm32__ +#define __IEEE_BIG_ENDIAN +#endif + #ifdef __M32R__ #define __IEEE_BIG_ENDIAN #endif diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index 9d798ff..0350535 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -232,6 +232,10 @@ _BEGIN_STD_C #define _JBLEN 18 #endif +#ifdef __lm32__ +#define _JBLEN 19 +#endif + #ifdef __m32c__ #if defined(__r8c_cpu__) || defined(__m16c_cpu__) #define _JBLEN (22/2) |