From patchwork Sun Feb 12 11:10:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Bugaev X-Patchwork-Id: 1741018 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=uCYDFQCy; dkim-atps=neutral Received: from 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PF4ZP4jxmz23hX for ; Sun, 12 Feb 2023 22:12:45 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9F9ED3881D11 for ; Sun, 12 Feb 2023 11:12:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F9ED3881D11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676200363; bh=cgww0FBnC6IXE2m/pGi3HBEXDJPHWjisQc4rSyYQZ3M=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=uCYDFQCyIVaQvKMAP+42SWlclFfwWbK8SimWHMz+7rO6778xjCS0dAZaRQ9LH62W8 SYuXWCGyk1rtDySwhGAOiuGfWTysS53sj75GdtvMGI++drDdkp4l6i/UZw9U/JLEGe OSVQ6nFIZizf22T9Z5Go7rJ4ZSa7OD3CDVLxkvn8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id ED298385783F for ; Sun, 12 Feb 2023 11:11:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED298385783F Received: by mail-ed1-x52f.google.com with SMTP id cq19so6683221edb.5 for ; Sun, 12 Feb 2023 03:11:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cgww0FBnC6IXE2m/pGi3HBEXDJPHWjisQc4rSyYQZ3M=; b=S6f6x+ONYlGnxATqaYE9dTTCnzFBHob+cFR6gXZifErFUnC0gNWialDl3om/jXBI2Z j6ROPoBYdOE96orbe039xPr6wnzx/BsrjPq+2KcpNwujfo9jua11lC4phvYqOyzmbxix wT6CA5AYYkgsE7/SMffXvpEOlH7hRFnSxUya6fFgR4NovQzoZbt1dkGwXfOr7atF7Td7 S1rLNm5Ux8tJBRPdEFYgYMuuF13OOoEnTq0NuZbV7JXz0pMSNFd08BF3GlQe7nrCoW/O 8Nw7bq0VG+dKIWjW1KKaTflOegBzaIlueg2kLqMRPunur5hG2GBZvItxQqNy9P6R1ExN Vm/g== X-Gm-Message-State: AO0yUKU2GtJ6atLGGiTmfxMf4tQELCmY+X0sNaDLH3sJzGvxKP4BIdur EZDgWOHr7Q7S5dsmPQqahGw= X-Google-Smtp-Source: AK7set/qnkcZQhU3xgKAUP++bwRCUUxKZ5XH568wrKvUFsjVzVOp+jZAa/c53lN+DPmk7qywOGhAkg== X-Received: by 2002:a50:d4c7:0:b0:4aa:b281:bedd with SMTP id e7-20020a50d4c7000000b004aab281beddmr22393552edj.20.1676200283628; Sun, 12 Feb 2023 03:11:23 -0800 (PST) Received: from surface-pro-6.. ([2a00:1370:818c:4a57:2186:c463:9ced:e6fe]) by smtp.gmail.com with ESMTPSA id c61-20020a509fc3000000b004acbe0b36d2sm1266910edf.6.2023.02.12.03.11.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 03:11:23 -0800 (PST) To: bug-hurd@gnu.org, libc-alpha@sourceware.org Cc: =?utf-8?q?Fl=C3=A1vio_Cruz?= , Sergey Bugaev Subject: [RFC PATCH glibc 10/12] hurd: Set up the basic tree for x86_64-gnu Date: Sun, 12 Feb 2023 14:10:41 +0300 Message-Id: <20230212111044.610942-11-bugaevc@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230212111044.610942-1-bugaevc@gmail.com> References: <20230212111044.610942-1-bugaevc@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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: Sergey Bugaev via Libc-alpha From: Sergey Bugaev Reply-To: Sergey Bugaev Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" And move pt-setup.c to the generic x86 tree. Signed-off-by: Sergey Bugaev --- sysdeps/mach/hurd/Implies | 1 + sysdeps/mach/hurd/{i386 => x86}/htl/pt-setup.c | 4 ++-- sysdeps/mach/hurd/x86_64/Implies | 2 ++ sysdeps/mach/hurd/x86_64/htl/Implies | 3 +++ sysdeps/mach/x86_64/Implies | 1 + 5 files changed, 9 insertions(+), 2 deletions(-) rename sysdeps/mach/hurd/{i386 => x86}/htl/pt-setup.c (97%) create mode 100644 sysdeps/mach/hurd/x86_64/Implies create mode 100644 sysdeps/mach/hurd/x86_64/htl/Implies create mode 100644 sysdeps/mach/x86_64/Implies diff --git a/sysdeps/mach/hurd/Implies b/sysdeps/mach/hurd/Implies index d2d5234c..e19dd1fd 100644 --- a/sysdeps/mach/hurd/Implies +++ b/sysdeps/mach/hurd/Implies @@ -3,3 +3,4 @@ gnu # The Hurd provides a rough superset of the functionality of 4.4 BSD. unix/bsd +mach/hurd/htl diff --git a/sysdeps/mach/hurd/i386/htl/pt-setup.c b/sysdeps/mach/hurd/x86/htl/pt-setup.c similarity index 97% rename from sysdeps/mach/hurd/i386/htl/pt-setup.c rename to sysdeps/mach/hurd/x86/htl/pt-setup.c index 94caed82..3abd92b2 100644 --- a/sysdeps/mach/hurd/i386/htl/pt-setup.c +++ b/sysdeps/mach/hurd/x86/htl/pt-setup.c @@ -1,4 +1,4 @@ -/* Setup thread stack. Hurd/i386 version. +/* Setup thread stack. Hurd/x86 version. Copyright (C) 2000-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -22,7 +22,7 @@ #include -/* The stack layout used on the i386 is: +/* The stack layout used on the x86 is: ----------------- | ARG | diff --git a/sysdeps/mach/hurd/x86_64/Implies b/sysdeps/mach/hurd/x86_64/Implies new file mode 100644 index 00000000..6b5e6f47 --- /dev/null +++ b/sysdeps/mach/hurd/x86_64/Implies @@ -0,0 +1,2 @@ +mach/hurd/x86 +mach/hurd/x86_64/htl diff --git a/sysdeps/mach/hurd/x86_64/htl/Implies b/sysdeps/mach/hurd/x86_64/htl/Implies new file mode 100644 index 00000000..1ae8f16e --- /dev/null +++ b/sysdeps/mach/hurd/x86_64/htl/Implies @@ -0,0 +1,3 @@ +mach/hurd/htl +mach/hurd/x86/htl +x86_64/htl diff --git a/sysdeps/mach/x86_64/Implies b/sysdeps/mach/x86_64/Implies new file mode 100644 index 00000000..da8291f4 --- /dev/null +++ b/sysdeps/mach/x86_64/Implies @@ -0,0 +1 @@ +mach/x86