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.20-101-ge436eb7


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  e436eb790f577218f9cea15e545500e952df80ae (commit)
      from  6af246cf8b6cac6e504aaf06c47b284a204335e0 (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=e436eb790f577218f9cea15e545500e952df80ae

commit e436eb790f577218f9cea15e545500e952df80ae
Author: Roland McGrath <roland@hack.frob.com>
Date:   Mon Oct 20 14:54:12 2014 -0700

    NPTL: Clean up gratuitous Linuxism in libpthread.so entry point.

diff --git a/ChangeLog b/ChangeLog
index dfad901..f6a0371 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-10-20  Roland McGrath  <roland@hack.frob.com>
 
+	* nptl/version.c (__nptl_main): Use normal __write rather than
+	INTERNAL_SYSCALL.
+	(banner): Update copyright years.
+
 	* nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
 	gettimeofday.
 	* nptl/pthread_rwlock_timedwrlock.c: Likewise.
diff --git a/nptl/version.c b/nptl/version.c
index 74d73ce..b2095b4 100644
--- a/nptl/version.c
+++ b/nptl/version.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2014 Free Software Foundation, Inc.
+/* Entry point for libpthread DSO.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -22,7 +23,7 @@
 
 static const char banner[] =
 #include "banner.h"
-"Copyright (C) 2006 Free Software Foundation, Inc.\n\
+"Copyright (C) 2006-2014 Free Software Foundation, Inc.\n\
 This is free software; see the source for copying conditions.\n\
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\
 PARTICULAR PURPOSE.\n"
@@ -32,13 +33,11 @@ PARTICULAR PURPOSE.\n"
 ;
 
 
-extern void __nptl_main (void) __attribute__ ((noreturn));
+/* This is made the e_entry of libpthread.so by LDFLAGS-pthread.so.  */
+__attribute__ ((noreturn))
 void
 __nptl_main (void)
 {
-  INTERNAL_SYSCALL_DECL (err);
-  INTERNAL_SYSCALL (write, err, 3, STDOUT_FILENO, (const char *) banner,
-		    sizeof banner - 1);
-
+  __write (STDOUT_FILENO, (const char *) banner, sizeof banner - 1);
   _exit (0);
 }

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

Summary of changes:
 ChangeLog      |    4 ++++
 nptl/version.c |   13 ++++++-------
 2 files changed, 10 insertions(+), 7 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]