aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin
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
parent1641a85e8ffe8a3565fef6ce37502b6b5fb4ee9c (diff)
downloadnewlib-1e15b467379bccd7a2810dc786fdd23cc056da06.zip
newlib-1e15b467379bccd7a2810dc786fdd23cc056da06.tar.gz
newlib-1e15b467379bccd7a2810dc786fdd23cc056da06.tar.bz2
miscfuncs.cc: Fix comment preceeding x86_64 memset and friends.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/miscfuncs.cc9
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 5a80243..79134b2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2015-08-10 Corinna Vinschen <corinna@vinschen.de>
+ * miscfuncs.cc: Fix comment preceeding x86_64 memset and friends.
+
+2015-08-10 Corinna Vinschen <corinna@vinschen.de>
+
* uinfo.cc (cygheap_user::ontherange): Revert previous patch.
2015-08-03 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index 2b3c6b8..4794d31 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\