summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-08-10 12:07:22 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-08-10 12:07:22 +0200
commit1e15b467379bccd7a2810dc786fdd23cc056da06 (patch)
tree132e5fea22c1c289f4a5e339797a7088bfa48ba3 /winsup/cygwin/miscfuncs.cc
parent1641a85e8ffe8a3565fef6ce37502b6b5fb4ee9c (diff)
downloadcygnal-1e15b467379bccd7a2810dc786fdd23cc056da06.tar.gz
cygnal-1e15b467379bccd7a2810dc786fdd23cc056da06.tar.bz2
cygnal-1e15b467379bccd7a2810dc786fdd23cc056da06.zip
miscfuncs.cc: Fix comment preceeding x86_64 memset and friends.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index 2b3c6b879..4794d3145 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -898,10 +898,11 @@ err:
}
#ifdef __x86_64__
-/* These functions are almost verbatim NetBSD code, just wrapped in the
- minimum required code to make them work with the MS AMD64 ABI.
- See NetBSD src/lib/libc/amd64/string/memset.S
- and NetBSD src/lib/libc/amd64/string/bcopy.S */
+/* These functions are almost verbatim FreeBSD code (even if ther header of
+ one file mentioneds NetBSD), just wrapped in the minimum required code to
+ make them work with the MS AMD64 ABI.
+ See FreeBSD src/lib/libc/amd64/string/memset.S
+ and FreeBSD src/lib/libc/amd64/string/bcopy.S */
asm volatile (" \n\
/* \n\