From: Guy-Fleury Iteriteka <gfleury@disroot.org>
To: libc-alpha@sourceware.org
Cc: Guy-Fleury Iteriteka <gfleury@disroot.org>
Subject: [PATCH 0/4] move some htl symbol into libc
Date: Sat, 29 Oct 2022 13:00:26 +0100 [thread overview]
Message-ID: <20221029120030.1448-1-gfleury@disroot.org> (raw)
Hello,
can you help me moving the pthread_self into libc as an
example so that i can go ahead and move others that are not difficult
for me.
pthread_equal is removed from libpthread.so but
with the patch for pthread_self is in both libc.so and libpthread.so.
this is libpthread.so
-------
U ___pthread_self@GLIBC_PRIVATE
00006630 t __pthread_self
00006630 t pthread_self
-------
and this libc.so
-------
00000028 b __GI____pthread_self
00000028 B ___pthread_self
001cf570 T __pthread_self
001cf570 W pthread_self
-------
i was thinking that it is with this makefile rule
------
extra-B-pthread.so = -B$(common-objpfx)htl/
------
in htl/Makefile that will force the pthread_self inclusion.
that would explain why pthread_equal is remove because it is in
sysdeps/htl/.
thanks.
Guy-Fleury Iteriteka (4):
htl: move __pthread-total into libc.
htl: move ___pthread_self to libc
htl: move pthread_equal into libc
htl: move pthread_self into libc
htl/Makefile | 5 ++---
htl/Versions | 11 ++++++-----
htl/forward.c | 8 --------
htl/pt-create.c | 6 ------
htl/pt-initialize.c | 2 --
htl/pt-internal.h | 1 +
htl/pt-total.c | 23 +++++++++++++++++++++++
sysdeps/htl/pthread-functions.h | 4 ----
sysdeps/mach/hurd/htl/pt-dep-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 | 2 ++
sysdeps/mach/hurd/i386/libpthread.abilist | 2 --
13 files changed, 60 insertions(+), 31 deletions(-)
create mode 100644 htl/pt-total.c
create mode 100644 sysdeps/mach/hurd/htl/pt-dep-self.c
--
2.37.2
next reply other threads:[~2022-10-29 16:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-29 12:00 Guy-Fleury Iteriteka [this message]
2022-10-29 12:00 ` [PATCH 1/4] htl: move __pthread-total " Guy-Fleury Iteriteka
2022-10-29 12:00 ` [PATCH 2/4] htl: move ___pthread_self to libc Guy-Fleury Iteriteka
2022-10-29 12:00 ` [PATCH 3/4] htl: move pthread_equal into libc Guy-Fleury Iteriteka
2022-10-30 21:51 ` Samuel Thibault
2022-10-29 12:00 ` [PATCH 4/4] htl: move pthread_self " Guy-Fleury Iteriteka
2022-10-31 7:24 ` Florian Weimer
2022-11-01 19:19 ` Guy-Fleury Iteriteka
2022-11-01 22:28 ` [PATCH 0/4] move some htl symbol " Samuel Thibault
2022-11-02 16:29 ` Samuel Thibault
2022-11-02 16:36 ` Guy-Fleury Iteriteka
2022-11-03 8:51 ` Guy-Fleury Iteriteka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221029120030.1448-1-gfleury@disroot.org \
--to=gfleury@disroot.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).