summaryrefslogtreecommitdiff
path: root/libc/string/sparc/strlen.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/sparc/strlen.S')
-rw-r--r--libc/string/sparc/strlen.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/string/sparc/strlen.S b/libc/string/sparc/strlen.S
new file mode 100644
index 000000000..0bfa3f58c
--- /dev/null
+++ b/libc/string/sparc/strlen.S
@@ -0,0 +1,13 @@
+#include "_glibc_inc.h"
+
+#if __WORDSIZE == 32
+
+# if defined(__CONFIG_SPARC_V9B__)
+# include "sparc32/sparcv9b/strlen.S"
+# else
+# include "sparc32/strlen.S"
+# endif
+
+#else
+# include "sparc64/strlen.S"
+#endif