aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-11-27 20:50:31 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-11-27 20:50:31 +0000
commite707c2c9e217a7d44235cba5a9da6927742d77d6 (patch)
treeed059c1dbf8f80654cab218dd645325e6c15f9d4
parentbad5c314f73192f1b11f634edb949b913fea437a (diff)
downloadnewlib-e707c2c9e217a7d44235cba5a9da6927742d77d6.zip
newlib-e707c2c9e217a7d44235cba5a9da6927742d77d6.tar.gz
newlib-e707c2c9e217a7d44235cba5a9da6927742d77d6.tar.bz2
2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.host (*-rtems*): Turn on using portion of unix subdirectory.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/configure.host3
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 2ca9d8a..56b53c0 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
+
2008-11-27 Craig Howland <howland@LGSInnovations.com>
* libc/argz/argz_add.c: Added #include <argz.h> to get function
diff --git a/newlib/configure.host b/newlib/configure.host
index 201876e..d1f66d8 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -341,6 +341,7 @@ case "${host}" in
*-*-rtems*) # generic RTEMS support
sys_dir=rtems
posix_dir=posix
+ unix_dir=unix
;;
a29k-*-*)
sys_dir=a29khif
@@ -533,6 +534,8 @@ case "${host}" in
*-*-rtems*)
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL"
+ # turn off unsupported items in posix directory
+ newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET"
;;
# VxWorks supplies its own version of malloc, and the newlib one
# doesn't work because VxWorks does not have sbrk.