diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-05 01:09:15 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-05 01:09:15 +0530 |
commit | 96baf6ffc57b811bbc424a1fc72ef77dd56d7a18 (patch) | |
tree | dfe6ad384c1c97e2d766750cf26f333fbaa4fd3d /sysdeps | |
parent | 1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31 (diff) | |
download | glibc-96baf6ffc57b811bbc424a1fc72ef77dd56d7a18.zip glibc-96baf6ffc57b811bbc424a1fc72ef77dd56d7a18.tar.gz glibc-96baf6ffc57b811bbc424a1fc72ef77dd56d7a18.tar.bz2 |
Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/memcopy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h index 45c5fcb..f7b9423 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 */ |