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