Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE

This commit is contained in:
Siddhesh Poyarekar 2014-07-05 01:09:15 +05:30
parent 1570a72bb8
commit 96baf6ffc5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/generic/memcopy.h: Add comment for
MEMCPY_OK_FOR_FWD_MEMMOVE.
2014-07-04 Will Newton <will.newton@linaro.org>
* string/memchr.c: Merge from gnulib.

View File

@ -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 */