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>2014-04-05 01:40:59 +0400
committerJeff Johnston <jjohnstn@redhat.com>2014-04-05 01:40:59 +0400
commitd3925b72d54420f8d12de613fd8ad99244fd5810 (patch)
treedfbd3c7257888b1be85de44925902330164e77c4 /newlib/configure.host
parent6fe5f6bf83035dc35fefd50681b8640ab07c6f25 (diff)
2014-04-04 Ashish Kapania <akapania@ti.com>
* configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use -D__DYNAMIC_REENT__ and -DMALLOC_PROVIDED compiler options for TIRTOS target. * libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Change #ifdef to not define this macro when __tirtos__ is defined. * libc/sys/tirtos : Add support for TIRTOS. * libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files. * libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 58faa953b..1464ba84e 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -381,6 +381,10 @@ case "${host}" in
posix_dir=posix
unix_dir=unix
;;
+ *-*-tirtos*)
+ sys_dir=tirtos
+ have_crt0="no"
+ ;;
a29k-*-*)
sys_dir=a29khif
signal_dir=
@@ -577,6 +581,10 @@ case "${host}" in
*-wrs-vxworks*)
newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DMISSING_SYSCALL_NAMES -DHAVE_FCNTL"
;;
+# TIRTOS supplies its own version of malloc
+ *-*-tirtos*)
+ newlib_cflags="${newlib_cflags} -D__DYNAMIC_REENT__ -DMALLOC_PROVIDED"
+ ;;
# UDI doesn't have exec, so system() should fail the right way
a29k-amd-udi)
newlib_cflags="${newlib_cflags} -DNO_EXEC"