From patchwork Wed Jan 4 08:49:12 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: 55391 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 AAEBD3858C30 for ; Wed, 4 Jan 2023 08:50:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAEBD3858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672822220; bh=i8CQ3oYQalPBpryeIuz2waULdYftlOMlK1UK6feh0SQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=xemwfNHPiUP9LaM7fT2K5mtCLnfvNq71SkOj5vObZjD4ZCSDssJnd/XkNMDxVkUqL hG3pyQCLXb9+ZhZiCtMm1OGLjlLoicvOnQR9/TKg7TDXkO8QKD4qc72mgK5mLXORKU LgIB6KVrKgAcMy3qddhxJCpcPSIerVFZy8tP37yw= 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 7E12B3858404 for ; Wed, 4 Jan 2023 08:49:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E12B3858404 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 41BD3409C5 for ; Wed, 4 Jan 2023 09:49:20 +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 UTKRVjbnZSSi for ; Wed, 4 Jan 2023 09:49:19 +0100 (CET) To: libc-alpha@sourceware.org Subject: [PATCH v2 0/3] htl: move some symbols into libc Date: Wed, 4 Jan 2023 10:49:12 +0200 Message-Id: <20230104084915.646092-1-gfleury@disroot.org> MIME-Version: 1.0 X-Spam-Status: No, score=-6.1 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" moved __pthtread_total, ___pthread_self, pthread_self Note: This is for review i revisit it when glibc 2.37 is out for 2.38 merge Guy-Fleury Iteriteka (3): htl: move __pthtread_total into libc htl: move ___pthread_self into libc. htl: move pthread_self into 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 | 2 ++ sysdeps/mach/hurd/i386/libpthread.abilist | 2 -- 15 files changed, 77 insertions(+), 24 deletions(-) create mode 100644 htl/pt-nthreads.c create mode 100644 sysdeps/mach/hurd/htl/pt-pthread_self.c