This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.21-232-g4d611e1


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  4d611e1261961bb9460faf21418845918ad270fd (commit)
      from  7285eb535aa8bdb43298069b353a3a4b4340a2b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4d611e1261961bb9460faf21418845918ad270fd

commit 4d611e1261961bb9460faf21418845918ad270fd
Author: Martin Galvan <martin.galvan@tallertechnologies.com>
Date:   Sat Mar 28 01:31:56 2015 -0300

    NPTL: swap comments for THREAD_SETMEM and THREAD_SETMEM_NC for i386 and x86_64
    
    The comments for THREAD_SETMEM and THREAD_SETMEM_NC were swapped for
    i386 and x86_64; this patch fixes that.

diff --git a/ChangeLog b/ChangeLog
index 09ceae6..70a4657 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+	* sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
+	THREAD_SETMEM_NC.
+	* sysdeps/x86_64/nptl/tls.h: Ditto.
+
 2015-03-27  Roland McGrath  <roland@hack.frob.com>
 
 	* dlfcn/tststatic.c (main): Converted to ...
diff --git a/sysdeps/i386/nptl/tls.h b/sysdeps/i386/nptl/tls.h
index 40f84ef..829cd3a 100644
--- a/sysdeps/i386/nptl/tls.h
+++ b/sysdeps/i386/nptl/tls.h
@@ -316,7 +316,8 @@ tls_fill_user_desc (union user_desc_init *desc,
      __value; })
 
 
-/* Same as THREAD_SETMEM, but the member offset can be non-constant.  */
+
+/* Set member of the thread descriptor directly.  */
 # define THREAD_SETMEM(descr, member, value) \
   ({ if (sizeof (descr->member) == 1)					      \
        asm volatile ("movb %b0,%%gs:%P1" :				      \
@@ -341,7 +342,7 @@ tls_fill_user_desc (union user_desc_init *desc,
        }})
 
 
-/* Set member of the thread descriptor directly.  */
+/* Same as THREAD_SETMEM, but the member offset can be non-constant.  */
 # define THREAD_SETMEM_NC(descr, member, idx, value) \
   ({ if (sizeof (descr->member[0]) == 1)				      \
        asm volatile ("movb %b0,%%gs:%P1(%2)" :				      \
diff --git a/sysdeps/x86_64/nptl/tls.h b/sysdeps/x86_64/nptl/tls.h
index b947d57..d7543c6 100644
--- a/sysdeps/x86_64/nptl/tls.h
+++ b/sysdeps/x86_64/nptl/tls.h
@@ -250,7 +250,7 @@ typedef struct
 #endif
 
 
-/* Same as THREAD_SETMEM, but the member offset can be non-constant.  */
+/* Set member of the thread descriptor directly.  */
 # define THREAD_SETMEM(descr, member, value) \
   ({ if (sizeof (descr->member) == 1)					      \
        asm volatile ("movb %b0,%%fs:%P1" :				      \
@@ -273,7 +273,7 @@ typedef struct
        }})
 
 
-/* Set member of the thread descriptor directly.  */
+/* Same as THREAD_SETMEM, but the member offset can be non-constant.  */
 # define THREAD_SETMEM_NC(descr, member, idx, value) \
   ({ if (sizeof (descr->member[0]) == 1)				      \
        asm volatile ("movb %b0,%%fs:%P1(%q2)" :				      \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    6 ++++++
 sysdeps/i386/nptl/tls.h   |    5 +++--
 sysdeps/x86_64/nptl/tls.h |    4 ++--
 3 files changed, 11 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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