[0/3] htl: move some symbol into libc

Message ID 20230318095826.1125734-1-gfleury@disroot.org
Headers
Series htl: move some symbol into libc |

Message

Guy-Fleury Iteriteka March 18, 2023, 9:58 a.m. UTC
  Hello,

this attempt to move pthread_self first and will try others as i get
experiencces.

I boostrap a hurd with this scripts https://github.com/flavioc/cross-hurd 

Guy-Fleury Iteriteka (3):
  htl: move __pthtread_total into libc
  htl: move ___pthread_self into libc.
  htl: move pthread_self info libc.

 htl/Makefile                              |  3 +--
 htl/Versions                              | 15 ++++++++++++---
 htl/forward.c                             |  4 ----
 htl/pt-create.c                           |  6 ------
 htl/pt-initialize.c                       |  1 -
 htl/pt-internal.h                         |  1 +
 htl/pt-nthreads.c                         | 23 +++++++++++++++++++++++
 htl/pt-self.c                             | 13 +++++++++++--
 sysdeps/htl/pthread-functions.h           |  2 --
 sysdeps/htl/pthreadP.h                    |  2 ++
 sysdeps/mach/hurd/htl/pt-pthread_self.c   | 22 ++++++++++++++++++++++
 sysdeps/mach/hurd/htl/pt-sysdep.c         |  2 --
 sysdeps/mach/hurd/htl/pt-sysdep.h         |  3 +++
 sysdeps/mach/hurd/i386/libc.abilist       |  3 +++
 sysdeps/mach/hurd/i386/libpthread.abilist |  2 --
 15 files changed, 78 insertions(+), 24 deletions(-)
 create mode 100644 htl/pt-nthreads.c
 create mode 100644 sysdeps/mach/hurd/htl/pt-pthread_self.c