diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-07-29 22:09:34 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-07-29 22:09:34 +0200 |
commit | 7666b3634b3124a0057e22238658aca665b285da (patch) | |
tree | 21e22a27e9c421e77ff319766324cd0a995bb9af /newlib/libc/sys/rtems/include | |
parent | f04e46b141cb598747ec69810365753abfbf93e7 (diff) | |
download | cygnal-7666b3634b3124a0057e22238658aca665b285da.tar.gz cygnal-7666b3634b3124a0057e22238658aca665b285da.tar.bz2 cygnal-7666b3634b3124a0057e22238658aca665b285da.zip |
Cygwin: Fix x86_64 memcpy/memset for n > 2GB
https://cygwin.com/ml/cygwin/2015-07/msg00344.html:
RtlFillMemory and RtlCopyMemory only work for size values
up to 2GB. Fix this problem by using NetBSD code for
memset and memcpy. Add entry points for memmove, wmemset,
wmemmove, wmemcpy. Thanks to Roman Petrovski
<RPetrovski@illumina.com> for pointing this out.
* miscfuncs.cc (memset): x86_64 only: Implement in assembler.
(memmove,memcpy): x86_64 only: Ditto.
(wmemmove,wmemcpy): x86_64 only: Ditto.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/sys/rtems/include')
0 files changed, 0 insertions, 0 deletions