aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-03 16:58:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-03 16:58:49 +0000
commit7aacf7acd57ca48404697e6e23c9107f7cd7fe04 (patch)
treeaa57da71b76e16ff72b571ad88a02391c2ab448e
parentf549254adeb5b63dcaeb008a6f5d0bc5faacf4f6 (diff)
downloadglibc-7aacf7acd57ca48404697e6e23c9107f7cd7fe04.tar.xz
glibc-7aacf7acd57ca48404697e6e23c9107f7cd7fe04.zip
(_HAVE_STRING_ARCH_mempcpy): Define.
-rw-r--r--sysdeps/arm/bits/string.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/arm/bits/string.h b/sysdeps/arm/bits/string.h
index 4ca2e307a1..094f90192d 100644
--- a/sysdeps/arm/bits/string.h
+++ b/sysdeps/arm/bits/string.h
@@ -1,5 +1,5 @@
/* Optimized, inlined string functions. ARM version.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,10 @@
#endif
/* We must defeat the generic optimized versions of these functions in
- <bits/string2.h> since they don't work on the ARM. */
+ <bits/string2.h> since they don't work on the ARM. This is because
+ the games they play with the __STRING2_COPY_ARR# structures fail
+ when structs are always 32-bit aligned.
+ XXX Should provide suitably optimal replacements. */
#define _HAVE_STRING_ARCH_strcpy 1
#define _HAVE_STRING_ARCH_stpcpy 1
+#define _HAVE_STRING_ARCH_mempcpy 1