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.27.9000-214-gdd28d4b


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  dd28d4ba978abd9f6da0a223614d7f0d33b305a7 (commit)
      from  6dbe9dcae593cb5c1562fee34703938583618fd4 (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=dd28d4ba978abd9f6da0a223614d7f0d33b305a7

commit dd28d4ba978abd9f6da0a223614d7f0d33b305a7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 18 02:11:56 2018 +0100

    x86_64: Fix build with RTLD_PRIVATE_ERRNO defined to 1
    
    	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
    	<dl-sysdep.h>.  Test for value of RTLD_PRIVATE_ERRNO instead of
    	testing whether it is defined.

diff --git a/ChangeLog b/ChangeLog
index 2fe1850..b9f9014 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -100,6 +100,9 @@
 	cthread_setspecific.
 	* sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
 	Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
+	<dl-sysdep.h>.  Test for value of RTLD_PRIVATE_ERRNO instead of
+	testing whether it is defined.
 
 2018-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
index b9b9bf9..1ef0f74 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
@@ -23,9 +23,8 @@
 #include <sysdeps/unix/x86_64/sysdep.h>
 #include <tls.h>
 
-#if IS_IN (rtld)
-# include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
-#endif
+/* Defines RTLD_PRIVATE_ERRNO.  */
+#include <dl-sysdep.h>
 
 /* For Linux we can use the system call table in the header file
 	/usr/include/asm/unistd.h
@@ -110,7 +109,7 @@
 
 # define ret_ERRVAL ret
 
-# if defined PIC && defined RTLD_PRIVATE_ERRNO
+# if defined PIC && RTLD_PRIVATE_ERRNO
 #  define SYSCALL_SET_ERRNO			\
   lea rtld_errno(%rip), %RCX_LP;		\
   neg %eax;					\

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

Summary of changes:
 ChangeLog                               |    3 +++
 sysdeps/unix/sysv/linux/x86_64/sysdep.h |    7 +++----
 2 files changed, 6 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]