summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-12-12 17:16:03 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-12-12 17:16:03 +0000
commitdb48463a7fdf1c0c008104116b17b76614a5e031 (patch)
tree54bb1163f5a1dfb70516299381487791e1ca2848
parentf570da9508239c33e387653e1410ee3294b4e097 (diff)
downloadcygnal-db48463a7fdf1c0c008104116b17b76614a5e031.tar.gz
cygnal-db48463a7fdf1c0c008104116b17b76614a5e031.tar.bz2
cygnal-db48463a7fdf1c0c008104116b17b76614a5e031.zip
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to 200112L (SUSv3 compliance). Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/include/sys/features.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e413100e4..6e96fa7b4 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
+ * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
+ 200112L (SUSv3 compliance).
+ Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
+
+2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
+
* libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
_execve(), _exit().
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 31c8e5273..1159dfdd5 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -38,12 +38,12 @@ extern "C" {
#define _POSIX_MEMLOCK_RANGE 1
#define _POSIX_MEMORY_PROTECTION 1
#define _POSIX_MESSAGE_PASSING 1
-#define _POSIX_MONOTONIC_CLOCK 1
+#define _POSIX_MONOTONIC_CLOCK 200112L
#define _POSIX_PRIORITIZED_IO 1
#define _POSIX_PRIORITY_SCHEDULING 1
#define _POSIX_REALTIME_SIGNALS 1
#define _POSIX_SEMAPHORES 1
-#define _POSIX_SHARED_MEMORY_OBJECTS 1
+/* #define _POSIX_SHARED_MEMORY_OBJECTS 1 */
#define _POSIX_SYNCHRONIZED_IO 1
#define _POSIX_TIMERS 1
#define _POSIX_BARRIERS 200112L