summaryrefslogtreecommitdiff
path: root/libssp/memmove-chk.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-07-02 10:15:09 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-07-02 10:15:09 +0000
commitca6d1176f717cfb0ba3e0ea1a930aa3d33905a9e (patch)
tree68173ee2d5bd4b1b5fc1a277f153743209eb7dda /libssp/memmove-chk.c
parentbaf7c318bbcad3acee65f8400c34665b9345f09a (diff)
configure.ac: Check for Sun symbol versioning.
* configure.ac: Check for Sun symbol versioning. Check for memmove. * configure: Regenerate. * config.h.in: Regenerate. * Makefile.am [LIBSSP_USE_SYMVER]: Protect version_arg, version_dep with LIBSSP_USE_SYMVER_GNU. [LIBSSP_USE_SYMVER_SUN]: Handle Sun symbol versioning. * Makefile.in: Regenerate. * ssp.map: Reformat. * memmove-chk.c: Change guard to HAVE_MEMMOVE. From-SVN: r161699
Diffstat (limited to 'libssp/memmove-chk.c')
-rw-r--r--libssp/memmove-chk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssp/memmove-chk.c b/libssp/memmove-chk.c
index 3e2904a3b0d..c28e1b59f2f 100644
--- a/libssp/memmove-chk.c
+++ b/libssp/memmove-chk.c
@@ -1,5 +1,5 @@
/* Checking memmove.
- Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc.
This file is part of GCC.
@@ -40,7 +40,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
extern void __chk_fail (void) __attribute__((__noreturn__));
-#ifdef HAVE_MEMPCPY
+#ifdef HAVE_MEMMOVE
void *
__memmove_chk (void *dest, const void *src, size_t len, size_t slen)
{