Add support for Cirrus Maverick ARM co-processor

This commit is contained in:
Nick Clifton 2003-02-20 19:14:12 +00:00
parent 892d896274
commit bac50d6b6e
3 changed files with 44 additions and 9 deletions

View File

@ -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.

View File

@ -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"

View File

@ -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!!