summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.topdeps81
-rw-r--r--.topmsg12
-rw-r--r--hurd/Versions1
-rw-r--r--sysdeps/mach/hurd/f_setlk.h23
-rw-r--r--sysdeps/mach/hurd/i386/tls.h2
5 files changed, 109 insertions, 10 deletions
diff --git a/.topdeps b/.topdeps
index 1722905774..b34252d91c 100644
--- a/.topdeps
+++ b/.topdeps
@@ -1,3 +1,80 @@
-t/regenerate_configure
+t/tls
+t/tls-threadvar
+t/tlsdesc.sym
+t/bits_atomic.h_multiple_threads
+t/_dl_random
+t/gscope
+t/socket_flags
+t/socketpair_flags
+t/pipe2
+t/____longjmp_chk
+t/extern_inline
+t/grantpt
t/master_backports
-t/tcbhead_t
+t/cpuclock
+t/host-independency
+t/cancellation
+t/pagesize
+t/sysvshm
+t/bigmem
+t/locarchive
+t/sendmsg-SCM_RIGHTS
+t/thread-cancel
+t/unlockpt-chroot
+t/no-hp-timing
+t/hurdsig-fixes
+t/hurdsig-global-dispositions
+t/hurdsig-SA_SIGINFO
+t/hurdsig-fixes-2
+t/hurdsig-global-dispositions-versions
+t/hooks
+t/libpthread_depends
+t/hurdsig-boot-fix
+t/setitimer
+t/single-select-timeout
+t/pie-sbrk
+t/remap_getcwd
+t/poll_errors_fixes
+t/exec-static
+t/EIEIO-fr
+t/context_functions
+t/sigstate_thread_reference
+t/tls_thread_leak
+t/futimens
+t/posix_thread
+t/gai_misc
+t/lockf64
+t/reboot-startup
+t/WRLCK-upgrade
+t/ifaddrs_v6
+t/io_select_timeout
+t/vm_copy
+t/gnumach
+t/sendmsg-SCM_CREDS
+t/mach-hurd-link
+t/NO_HIDDEN
+t/faccessat
+t/eintr
+cvs/errnos.d
+cvs/mach-syscalls.mk
+t/allocalim
+cvs/auxv
+cvs/gprof-tick
+cvs/i686-link
+cvs/libpthread.so
+cvs/check-local-headers
+cvs/IPV6_PKTINFO
+t/bind_umask2
+t/bootstrap
+t/gsync-libc
+t/libc_cleanup
+t/pthread_deps
+cvs/mallocfork
+t/timer_routines
+cvs/build
+t/no-werror
+t/ONSTACK
+t/EGREGIOUS-fr
+t/NOFOLLOW
+t/NOFOLLOW-DIRECTORY
+t/libc_rwlock_recursive
diff --git a/.topmsg b/.topmsg
index 7b9619422a..9dbc4a0dd3 100644
--- a/.topmsg
+++ b/.topmsg
@@ -1,9 +1,7 @@
-Commited to git
+From: Thomas Schwinge <thomas@schwinge.name>
+Subject: Roger Whittaker
-From: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Subject: [PATCH] hurd: Make libc able to call pthread stubs
+Not for upstream submission.
-* sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
-<bits/libc-lockP.h>
-
-Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Currently used by Thomas Schwinge for building cross toolchains / testing /
+development.
diff --git a/hurd/Versions b/hurd/Versions
index 7502d32a22..414231b5b4 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -131,6 +131,7 @@ libc {
_hurd_sigstate_pending;
_hurd_sigstate_unlock;
_hurd_sigstate_delete;
+ }
GLIBC_2.19 {
# These always existed as inlines but the real functions were not exported.
_hurd_fd_error_signal; _hurd_fd_error;
diff --git a/sysdeps/mach/hurd/f_setlk.h b/sysdeps/mach/hurd/f_setlk.h
new file mode 100644
index 0000000000..16c7a8ca8d
--- /dev/null
+++ b/sysdeps/mach/hurd/f_setlk.h
@@ -0,0 +1,23 @@
+/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ 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 _F_SETLK_H
+#define _F_SETLK_H 1
+
+extern int __f_setlk (int fd, int type, int whence, __off64_t start, __off64_t len, int wait);
+
+#endif /* f_setlk.h */
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index 379f22e972..f7eb7bf219 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -119,7 +119,7 @@ _hurd_tls_init (tcbhead_t *tcb)
/* Get the first available selector. */
int sel = -1;
- kern_return_t err = __i386_set_gdt (tcb->self, &sel, desc);
+ kern_return_t err = __i386_set_gdt (self, &sel, desc);
if (err == MIG_BAD_ID)
{
/* Old kernel, use a per-thread LDT. */