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
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-09-28 20:42:21 +0400
committerJeff Johnston <jjohnstn@redhat.com>2009-09-28 20:42:21 +0400
commit6c249577fbcdbb3d34747d8ba1b7d5920ef5f2ab (patch)
treead02b8119806819c0ab895dfb4cc1f332404da47 /newlib/configure.host
parent587b75f7bdac34df1cef09ea70b0fbd88a27ff16 (diff)
2009-09-28 Michael Eager <eager@eagercon.com>
* configure.host: Add microblaze. * libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN. * libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE. * libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL, _UNIX98_THREAD_MUTEX_ATTRIBUTES. * libc/include/sys/types.h: Treat XMK like rtems, define PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s. * libc/machine/configure.in: Add microblaze. * libc/machine/configure: Add microblaze (not regenerated). * libc/machine/microblaze/configure.in: NEW. * libc/machine/microblaze/configure: Generate. * libc/machine/microblaze/Makefile.am: NEW. * libc/machine/microblaze/Makefile.in: Generate. * libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c, mallocr.c, longjmp.S, setjmp.S}: NEW. * libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype, mALLOc(): return malloc value.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 6d5264a95..8576b657f 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -193,6 +193,9 @@ case "${host_cpu}" in
;;
mcore)
;;
+ microblaze)
+ machine_dir=microblaze
+ ;;
mep)
machine_dir=mep
;;
@@ -446,6 +449,9 @@ case "${host}" in
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
;;
+ microblaze-*-*)
+ machine_dir=microblaze
+ ;;
mips*-dec-*)
sys_dir=decstation
;;
@@ -669,6 +675,10 @@ case "${host}" in
mcore-*-*)
syscall_dir=syscalls
;;
+ microblaze-*-*)
+ default_newlib_io_long_long="yes"
+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -DSMALL_MEMORY -D_REENT_SMALL"
+ ;;
mips64vr*-*-*)
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"