aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-11-14 10:32:52 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-14 10:32:52 -0800
commitcf7246ddf534d98b87910c04cbb51fe02aa6d562 (patch)
tree04f1be8d7f0702fda5691fac813b35faf92f7461
parent4863355ad52b71fecd7529928999074afdc4d51f (diff)
downloadglibc-cf7246ddf534d98b87910c04cbb51fe02aa6d562.zip
glibc-cf7246ddf534d98b87910c04cbb51fe02aa6d562.tar.gz
glibc-cf7246ddf534d98b87910c04cbb51fe02aa6d562.tar.bz2
Fix sparc build.
* sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before including <string/memcpy.c> and <string/mempcpy.c>.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sparc/sparc64/rtld-memcpy.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 496467e..2d3f8cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-14 David S. Miller <davem@davemloft.net>
+
+ * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
+ Define before including <string/memcpy.c> and <string/mempcpy.c>.
+
2014-11-14 Joseph Myers <joseph@codesourcery.com>
* configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
diff --git a/sysdeps/sparc/sparc64/rtld-memcpy.c b/sysdeps/sparc/sparc64/rtld-memcpy.c
index b1b0647..52f8302 100644
--- a/sysdeps/sparc/sparc64/rtld-memcpy.c
+++ b/sysdeps/sparc/sparc64/rtld-memcpy.c
@@ -1,2 +1,3 @@
+#define NO_MEMPCPY_STPCPY_REDIRECT
#include <string/memcpy.c>
#include <string/mempcpy.c>