Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-20 22:14:12 +0300
committerNick Clifton <nickc@redhat.com>2003-02-20 22:14:12 +0300
commitbac50d6b6eed4d03d700fe5497c9ca2e47fe2a6d (patch)
treee7447bd217613883b053011d6ccc9839e7f2bb5c /newlib
parent892d89627472a912e60a66d1b3e363de5d5ac3ab (diff)
Add support for Cirrus Maverick ARM co-processor
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog17
-rw-r--r--newlib/configure.host26
-rw-r--r--newlib/libc/include/machine/ieeefp.h10
3 files changed, 44 insertions, 9 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d20861654..7781da129 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,20 @@
+2003-02-20 Nick Clifton <nickc@redhat.com>
+
+ * Add support for Cirrus Maverick ARM co-processor:
+
+ 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
+
+ * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
+ IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
+
+ 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
+
+ * configure.host: set sys_dir, syscall_dir, and
+ newlib_cflags for ep9312 host.
+
+ * configure.host: Restore alpha sorting of entries in case
+ statements.
+
2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
diff --git a/newlib/configure.host b/newlib/configure.host
index 15676aa6b..49d23b892 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -88,16 +88,21 @@ case "${host_cpu}" in
avr*)
newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mcall-prologues"
;;
-
d10v*)
machine_dir=d10v
;;
d30v*)
machine_dir=d30v
;;
+ ep9312)
+ machine_dir=arm
+ ;;
fr30)
machine_dir=fr30
;;
+ frv)
+ machine_dir=frv
+ ;;
h8300)
machine_dir=h8300
;;
@@ -204,9 +209,6 @@ case "${host_cpu}" in
machine_dir=v850
newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 "
;;
- frv)
- machine_dir=frv
- ;;
w65*)
machine_dir=w65
;;
@@ -311,6 +313,9 @@ case "${host}" in
d30v*)
sys_dir=
;;
+ ep9312-*-*)
+ sys_dir=arm
+ ;;
h8300-*-hms*)
sys_dir=h8300hms
;;
@@ -481,10 +486,19 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DABORT_MESSAGE -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
syscall_dir=
;;
+ ep9312-*-*)
+ syscall_dir=syscalls
+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY"
+ newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR"
+ ;;
fr30-*-*)
newlib_cflags="${newlib_cflags}"
syscall_dir=syscalls
;;
+ frv-*-*)
+ syscall_dir=syscalls
+ newlib_cflags="${newlib_cflags} -DWANT_PRINTF_LONG_LONG"
+ ;;
h8300*-*-*)
syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
@@ -602,10 +616,6 @@ case "${host}" in
v850ea-*-*)
syscall_dir=syscalls
;;
- frv-*-*)
- syscall_dir=syscalls
- newlib_cflags="${newlib_cflags} -DWANT_PRINTF_LONG_LONG"
- ;;
w65-*-*)
syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index 3fcb9a4ee..6eeb381bd 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -50,7 +50,7 @@
*/
-#if (defined(__arm__) || defined(__thumb__))
+#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__)
/* ARM always has big-endian words. Within those words the byte ordering
will be big or little endian depending upon the target. */
#define __IEEE_BIG_ENDIAN
@@ -234,6 +234,14 @@
#define _DOUBLE_IS_32BITS
#endif
+#ifdef __MAVERICK__
+#ifdef __ARMEL__
+# define __IEEE_LITTLE_ENDIAN
+#else /* must be __ARMEB__ */
+# define __IEEE_BIG_ENDIAN
+#endif /* __ARMEL__ */
+#endif /* __MAVERICK__ */
+
#ifndef __IEEE_BIG_ENDIAN
#ifndef __IEEE_LITTLE_ENDIAN
#error Endianess not declared!!