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:
authorCorinna Vinschen <corinna@vinschen.de>2015-01-14 12:25:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-01-14 12:25:16 +0300
commit29193dd04c58979f5cae643d1d17935ff846cc0d (patch)
tree82ad1394c6b553da49ace67fbeca5a718ddfda86 /newlib/libc/include
parentf5a9dd02c440696624e74af4a022c22aabbdced5 (diff)
* configure.host: Add extra system for OpenRISC baremetal
* libc/include/sys/config.h: Dynamic reentrancy for or1k sys targets * libc/sys/or1k/: New system for or1k baremetal * libc/sys/or1k/Makefile.am: New file * libc/sys/or1k/Makefile.in: New file * libc/sys/or1k/aclocal.m4: New file * libc/sys/or1k/configure.in: New file * libc/sys/or1k/configure: New file * libc/sys/or1k/getreent.S: New file * libc/sys/or1k/mlock.S: New file * libc/sys/or1k/or1k-asm.S: New file
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/sys/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 0d27d6c11..5297befe5 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -185,6 +185,10 @@
#define __CUSTOM_FILE_IO__
#endif
+#if defined(__or1k__) || defined(__or1knd__)
+#define __DYNAMIC_REENT__
+#endif
+
/* This block should be kept in sync with GCC's limits.h. The point
of having these definitions here is to not include limits.h, which
would pollute the user namespace, while still using types of the