From patchwork Sat Mar 18 09:58:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy-Fleury Iteriteka X-Patchwork-Id: 55595 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6193D3850430 for ; Sat, 18 Mar 2023 09:59:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6193D3850430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679133553; bh=NBym+cCZcPucOu7eQlHG+Rhq+bhhzN4X3EsGseh7Tuk=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=araV62e4aHwCfIu2tyUhuSGcmqqjiJis22mA8l1k8MsXFf8r9zVs5N8f+Oac18mG1 15pjSF9F7XSeUFXmzRmYOmAjU6DS/kDCitxRkkBZ+ot0KOT1JTupvYQclqHf/75sCe wmchEuon6vZG8T5BsxOn51M1aWxZouQa+7Cw/0Zg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by sourceware.org (Postfix) with ESMTPS id 0DD893858C50 for ; Sat, 18 Mar 2023 09:58:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DD893858C50 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7B757445B2; Sat, 18 Mar 2023 10:58:44 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IawsCKdhd-xa; Sat, 18 Mar 2023 10:58:43 +0100 (CET) To: libc-alpha@sourceware.org Cc: Guy-Fleury Iteriteka Subject: [PATCH 0/3] htl: move some symbol into libc Date: Sat, 18 Mar 2023 11:58:23 +0200 Message-Id: <20230318095826.1125734-1-gfleury@disroot.org> MIME-Version: 1.0 X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Guy-Fleury Iteriteka via Libc-alpha From: Guy-Fleury Iteriteka Reply-To: Guy-Fleury Iteriteka Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" 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