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.26.9000-1243-gef4cf46


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  ef4cf463e59b763f289b80084e70911962da6d6c (commit)
       via  ac56adbb0cbe3ff8995662fed0a644d1aa7acb7b (commit)
      from  99dfbef48da238e9a29f83acf3897c2901e5de17 (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=ef4cf463e59b763f289b80084e70911962da6d6c

commit ef4cf463e59b763f289b80084e70911962da6d6c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Jan 30 00:52:48 2018 +0100

    hurd: Add tlsdesc.sym
    
    	* sysdeps/mach/hurd/i386/tlsdesc.sym: New file.

diff --git a/ChangeLog b/ChangeLog
index a491034..80ad4c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@
 	* bits/fcntl.h: Fix comment for FREAD and FWRITE.
 	* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
 	* sysdeps/mach/hurd/hp-timing.h: New file.
+	* sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
 
 2018-01-29  Darius Rad  <darius@bluespec.com>
 
diff --git a/sysdeps/mach/hurd/i386/tlsdesc.sym b/sysdeps/mach/hurd/i386/tlsdesc.sym
new file mode 100644
index 0000000..a358f7e
--- /dev/null
+++ b/sysdeps/mach/hurd/i386/tlsdesc.sym
@@ -0,0 +1,19 @@
+#include <stddef.h>
+#include <sysdep.h>
+#include <tls.h>
+#include <link.h>
+#include <dl-tlsdesc.h>
+
+--
+
+-- We have to override sysdeps/i386/tlsdesc.sym to adapt to our libpthread.
+
+-- Abuse tls.h macros to derive offsets relative to the thread register.
+
+DTV_OFFSET			offsetof(tcbhead_t, dtv)
+
+TLSDESC_ARG			offsetof(struct tlsdesc, arg)
+
+TLSDESC_GEN_COUNT		offsetof(struct tlsdesc_dynamic_arg, gen_count)
+TLSDESC_MODID			offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
+TLSDESC_MODOFF			offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ac56adbb0cbe3ff8995662fed0a644d1aa7acb7b

commit ac56adbb0cbe3ff8995662fed0a644d1aa7acb7b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Jan 30 00:47:31 2018 +0100

    hurd: disable hp timing
    
    We don't have support for hp timing for now, even the i686 variant, which needs
    to know the CPU speed.
    Copied from sysdeps/generic/hp-timing.h
    
    	* sysdeps/mach/hurd/hp-timing.h: New file.

diff --git a/ChangeLog b/ChangeLog
index 64b3943..a491034 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,7 @@
 	[!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
 	* bits/fcntl.h: Fix comment for FREAD and FWRITE.
 	* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
+	* sysdeps/mach/hurd/hp-timing.h: New file.
 
 2018-01-29  Darius Rad  <darius@bluespec.com>
 
diff --git a/sysdeps/mach/hurd/hp-timing.h b/sysdeps/mach/hurd/hp-timing.h
new file mode 100644
index 0000000..d1845e1
--- /dev/null
+++ b/sysdeps/mach/hurd/hp-timing.h
@@ -0,0 +1,38 @@
+/* High precision, low overhead timing functions.  Generic version.
+   Copyright (C) 1998-2018 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#ifndef _HP_TIMING_H
+#define _HP_TIMING_H	1
+
+/* We don't have support for high precision timing for now. */
+
+/* Provide dummy definitions.  */
+#define HP_TIMING_AVAIL		(0)
+#define HP_SMALL_TIMING_AVAIL	(0)
+#define HP_TIMING_INLINE	(0)
+typedef int hp_timing_t;
+#define HP_TIMING_NOW(var)
+#define HP_TIMING_DIFF(Diff, Start, End)
+#define HP_TIMING_ACCUM_NT(Sum, Diff)
+#define HP_TIMING_PRINT(Buf, Len, Val)
+
+/* Since this implementation is not available we tell the user about it.  */
+#define HP_TIMING_NONAVAIL	1
+
+#endif	/* hp-timing.h */

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

Summary of changes:
 ChangeLog                                  |    2 ++
 sysdeps/{generic => mach/hurd}/hp-timing.h |    4 +---
 sysdeps/{ => mach/hurd}/i386/tlsdesc.sym   |    4 +++-
 3 files changed, 6 insertions(+), 4 deletions(-)
 copy sysdeps/{generic => mach/hurd}/hp-timing.h (87%)
 copy sysdeps/{ => mach/hurd}/i386/tlsdesc.sym (79%)


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]