summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/or1k/getreent.S
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-01-14 09:25:16 +0000
committerCorinna Vinschen <corinna@vinschen.de>2015-01-14 09:25:16 +0000
commit29193dd04c58979f5cae643d1d17935ff846cc0d (patch)
tree82ad1394c6b553da49ace67fbeca5a718ddfda86 /newlib/libc/sys/or1k/getreent.S
parentf5a9dd02c440696624e74af4a022c22aabbdced5 (diff)
downloadcygnal-29193dd04c58979f5cae643d1d17935ff846cc0d.tar.gz
cygnal-29193dd04c58979f5cae643d1d17935ff846cc0d.tar.bz2
cygnal-29193dd04c58979f5cae643d1d17935ff846cc0d.zip
* 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/sys/or1k/getreent.S')
-rw-r--r--newlib/libc/sys/or1k/getreent.S26
1 files changed, 26 insertions, 0 deletions
diff --git a/newlib/libc/sys/or1k/getreent.S b/newlib/libc/sys/or1k/getreent.S
new file mode 100644
index 000000000..4bc50c8c8
--- /dev/null
+++ b/newlib/libc/sys/or1k/getreent.S
@@ -0,0 +1,26 @@
+/* getreent.S. Return reentrancy pointer.
+
+ Copyright (C) 2014, Authors
+
+ Contributor Stefan Wallentowitz <stefan.wallentowitz@tum.de>
+
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions. No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+
+#include "or1k-asm.h"
+
+ .extern _or1k_libc_getreent
+
+ .global __getreent
+ .type __getreent,@function
+
+__getreent:
+ OR1K_DELAYED_NOP(OR1K_INST(l.j _or1k_libc_getreent))