diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-08-29 01:56:50 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-08-29 01:56:50 +0400 |
commit | d4a278865234a6bd207dc12a0305e30f3b759284 (patch) | |
tree | 24ab1d88d13f69724625bfc1256933739368da33 /newlib/libc/include | |
parent | 01cd95204efdc980ec2a0ad6bc58b37e2ac32f76 (diff) |
2007-08-28 Hans Kester <hans.kester@ellips.nl>
* configure.host: Added support for x86_64.
* libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
* libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
* libc/machine/x86_64/aclocal.m4: Generated.
* libc/machine/x86_64/configure.in: New.
* libc/machine/x86_64/configure: Generated.
* libc/machine/x86_64/Makefile.am: New.
* libc/machine/x86_64/Makefile.in: Generated.
* libc/machine/x86_64/setjmp.S: New.
* libc/machine/x86_64/memcpy.S: New.
* libc/machine/x86_64/memset.S: New.
* libc/machine/configure.in: Added support for x86_64.
* libc/machine/configure: Regenerated.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/machine/ieeefp.h | 4 | ||||
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h index b3e77945e..46ab1883b 100644 --- a/newlib/libc/include/machine/ieeefp.h +++ b/newlib/libc/include/machine/ieeefp.h @@ -306,6 +306,10 @@ #define __IEEE_LITTLE_ENDIAN #endif +#ifdef __x86_64__ +#define __IEEE_LITTLE_ENDIAN +#endif + #ifndef __IEEE_BIG_ENDIAN #ifndef __IEEE_LITTLE_ENDIAN #error Endianess not declared!! diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index f751bfbd6..9171c0054 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -67,6 +67,11 @@ _BEGIN_STD_C #endif #endif +#ifdef __x86_64__ +#define _JBTYPE long long +#define _JBLEN 8 +#endif + #ifdef __i960__ #define _JBLEN 35 #endif |