From 96baf6ffc57b811bbc424a1fc72ef77dd56d7a18 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Sat, 5 Jul 2014 01:09:15 +0530 Subject: Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE --- sysdeps/generic/memcopy.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h index 45c5fcb479..f7b9423f0e 100644 --- a/sysdeps/generic/memcopy.h +++ b/sysdeps/generic/memcopy.h @@ -190,6 +190,9 @@ extern void _wordcopy_bwd_dest_aligned (long int, long int, size_t) __THROW; /* Threshold value for when to enter the unrolled loops. */ #define OP_T_THRES 16 +/* Set to 1 if memcpy is safe to use for forward-copying memmove with + overlapping addresses. This is 0 by default because memcpy implementations + are generally not safe for overlapping addresses. */ #define MEMCPY_OK_FOR_FWD_MEMMOVE 0 #endif /* memcopy.h */ -- cgit 1.4.1