summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sparc64/stat.S
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sparc64/stat.S')
-rw-r--r--newlib/libc/sys/sparc64/stat.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sparc64/stat.S b/newlib/libc/sys/sparc64/stat.S
new file mode 100644
index 00000000000..32adb23ce70
--- /dev/null
+++ b/newlib/libc/sys/sparc64/stat.S
@@ -0,0 +1,9 @@
+! stat() system call
+
+#include "sys/syscallasm.h"
+
+#ifdef REENT
+ defsyscall_r (_stat_r, SYS_stat, 2)
+#else
+ defsyscall (stat, SYS_stat)
+#endif