summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i486/bits/string.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-12-12 20:28:46 +0000
committerJakub Jelinek <jakub@redhat.com>2007-12-12 20:28:46 +0000
commit1716edfc192b29f8cec407e3eebfbe84e28f70e4 (patch)
treefe6618670f8f6469186eca108fc944d3317d83aa /sysdeps/i386/i486/bits/string.h
parent574e283890a6ca92325a06dafa76ff307a8019a2 (diff)
Updated to fedora-glibc-20071212T1953
Diffstat (limited to 'sysdeps/i386/i486/bits/string.h')
-rw-r--r--sysdeps/i386/i486/bits/string.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/i386/i486/bits/string.h b/sysdeps/i386/i486/bits/string.h
index cf5f4847fa..9f05c7e655 100644
--- a/sysdeps/i386/i486/bits/string.h
+++ b/sysdeps/i386/i486/bits/string.h
@@ -145,8 +145,13 @@ __memcpy_g (void *__dest, __const void *__src, size_t __n)
#ifndef _FORCE_INLINES
/* Copy N bytes of SRC to DEST, guaranteeing
correct behavior for overlapping strings. */
+#define memmove(dest, src, n) __memmove_g (dest, src, n)
+
+__STRING_INLINE void *__memmove_g (void *, __const void *, size_t)
+ __asm__ ("memmove");
+
__STRING_INLINE void *
-memmove (void *__dest, __const void *__src, size_t __n)
+__memmove_g (void *__dest, __const void *__src, size_t __n)
{
register unsigned long int __d0, __d1, __d2;
register void *__tmp = __dest;