This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] miscfuncs.cc: Fix comment preceeding x86_64 memset and friends.


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1e15b467379bccd7a2810dc786fdd23cc056da06

commit 1e15b467379bccd7a2810dc786fdd23cc056da06
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Aug 10 12:07:22 2015 +0200

    miscfuncs.cc: Fix comment preceeding x86_64 memset and friends.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/ChangeLog    | 4 ++++
 winsup/cygwin/miscfuncs.cc | 9 +++++----
 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\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]