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.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user