From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 540AA1F451 for ; Thu, 4 Jan 2024 22:49:19 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=HM69srBQ; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FB4E387085F for ; Thu, 4 Jan 2024 22:49:18 +0000 (GMT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 1AF17386F82D for ; Thu, 4 Jan 2024 22:48:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1AF17386F82D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1AF17386F82D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704408498; cv=none; b=QgqhSf1DHkEq/0Z9KM/g2+04cnw3F3DqEBPYjzOp85Hr5dV13ApD1W/V4XqGrxobJXne6+miTYyPRPe7EatTpA7x3Cu2qTtrXe1LjDNwLJ+hnQKEnhxD1H68YCuJfxsNu+OXqi0LciVo2DM97ZSOfQrUYlJwcPiP1uxVfNV9o68= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704408498; c=relaxed/simple; bh=0usO6VZ7TRco4Id7zIDXXzI9k65nkUf6/vaH+U1tegY=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=NDaE85OTgk+MAmmZL9bh8yWm9G9ndSn1DPgu234BPcj6edzBZijLFmb3F9RfplAIJ6A0ejPYfbKmUv7OQKqjmF5Ly+xFp16GfAr48qhho9gyA4TOvel2JItDKPNLDyqAv/NHDHX5uBPfsM9en2/s9wQMPtT8Grz6JCKGmpCkYJk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rLWVc-0001kI-Nd; Thu, 04 Jan 2024 17:48:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=z3VSFeN2zFYXK88mYSdyO3WIQIVltLWqYS0V9OPZP4I=; b=HM69srBQB7qe7BltFbgF brCdoMnjNv+YHMDwWl6Hrv0RQuGJAORBi8x42m3ux7mm0yZQeBRZRfDJysD+00tVnebztDH6bNBbx rhldW3xqlv3gCdPAvZJ280/roIkIol4bvOvcbkcT4gHTSix4rQkeFkdX/n7Ocan6DJwlWZ8N3WTev n5L5Jzs22wUCKM+e8b4q0Zobd8IWL9uBt8tcc8kBe0k4oz8eBQUmRkgXPT98mmIS0auSlUO/koSZE iNNjWuMe8mEu2qeqr7W3A4jwx4+4R0Cdq5ClOX+rnxlGvU+7DSltIcHQMITPJn5PGJfhYkQt0t7Wi hVjBtBXcHM6fnw==; Date: Thu, 4 Jan 2024 23:48:14 +0100 From: Samuel Thibault To: Sergey Bugaev Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org Subject: Re: [RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific Message-ID: <20240104224814.ntycxlacdv4npadd@begin> Mail-Followup-To: Sergey Bugaev , libc-alpha@sourceware.org, bug-hurd@gnu.org References: <20240103171502.1358371-1-bugaevc@gmail.com> <20240103171502.1358371-10-bugaevc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240103171502.1358371-10-bugaevc@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Applied, thanks! Sergey Bugaev, le mer. 03 janv. 2024 20:14:42 +0300, a ecrit: > This will make it usable in other ports. > > Signed-off-by: Sergey Bugaev > --- > sysdeps/mach/hurd/{x86 => }/init-first.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > rename sysdeps/mach/hurd/{x86 => }/init-first.c (98%) > > diff --git a/sysdeps/mach/hurd/x86/init-first.c b/sysdeps/mach/hurd/init-first.c > similarity index 98% > rename from sysdeps/mach/hurd/x86/init-first.c > rename to sysdeps/mach/hurd/init-first.c > index 211b2096..85261916 100644 > --- a/sysdeps/mach/hurd/x86/init-first.c > +++ b/sysdeps/mach/hurd/init-first.c > @@ -1,4 +1,4 @@ > -/* Initialization code run first thing by the ELF startup code. For x86/Hurd. > +/* Initialization code run first thing by the ELF startup code. For Hurd. > Copyright (C) 1995-2024 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > @@ -155,7 +155,7 @@ first_init (void) > > #ifndef SHARED > /* In the static case, we need to set up TLS early so that the stack > - protection guard can be read at gs:0x14 by the gcc-generated snippets. */ > + protection guard can be read at from TLS by the GCC-generated snippets. */ > _hurd_tls_init (&__init1_tcbhead, 0); > #endif > > -- > 2.43.0 > > -- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.