summaryrefslogtreecommitdiff
path: root/strings/strmov.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-26 18:16:48 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-26 18:16:48 -0300
commit37b8fa0b2b84f5a4800fc30259dc892102a9f067 (patch)
treed00fb872f414918ca738a38dbaaa4afed8644c08 /strings/strmov.c
parente8fb899205a43e050c56e584ccbb24747034d675 (diff)
downloadmariadb-git-37b8fa0b2b84f5a4800fc30259dc892102a9f067.tar.gz
WL#5486: Remove code for unsupported platforms
Remove ASM for MC68000 and Vax.
Diffstat (limited to 'strings/strmov.c')
-rw-r--r--strings/strmov.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/strings/strmov.c b/strings/strmov.c
index eedf22a4ef1..4d4915d27a0 100644
--- a/strings/strmov.c
+++ b/strings/strmov.c
@@ -29,25 +29,9 @@
#define strmov strmov_overlapp
#endif
-#if !defined(MC68000) && !defined(DS90)
-
char *strmov(register char *dst, register const char *src)
{
while ((*dst++ = *src++)) ;
return dst-1;
}
-#else
-
-char *strmov(dst, src)
- char *dst, *src;
-{
- asm(" movl 4(a7),a1 ");
- asm(" movl 8(a7),a0 ");
- asm(".L4: movb (a0)+,(a1)+ ");
- asm(" jne .L4 ");
- asm(" movl a1,d0 ");
- asm(" subql #1,d0 ");
-}
-
-#endif