summaryrefslogtreecommitdiff
path: root/libc/string/sparc/strcpy.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-26 00:01:54 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-26 00:01:54 +0000
commitd71ff82e7019e91ae9f76af391e7f677d421e205 (patch)
treeb28b78dd5619b59cd28d11f007543e69fbe4bf12 /libc/string/sparc/strcpy.S
parentb11c2a4d0b7cf8095b93ae70fc187f0feadae5a1 (diff)
import sparc-optimized string functions from glibc
Diffstat (limited to 'libc/string/sparc/strcpy.S')
-rw-r--r--libc/string/sparc/strcpy.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/string/sparc/strcpy.S b/libc/string/sparc/strcpy.S
new file mode 100644
index 000000000..6dbbf5a34
--- /dev/null
+++ b/libc/string/sparc/strcpy.S
@@ -0,0 +1,13 @@
+#include "_glibc_inc.h"
+
+#if __WORDSIZE == 32
+
+# if defined(__CONFIG_SPARC_V9B__)
+# include "sparc32/sparcv9b/strcpy.S"
+# else
+# include "sparc32/strcpy.S"
+# endif
+
+#else
+# include "sparc64/strcpy.S"
+#endif