From patchwork Tue Jan 9 20:23:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 83688 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 7D474385771A for ; Tue, 9 Jan 2024 20:24:03 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by sourceware.org (Postfix) with ESMTPS id 5EC333858426 for ; Tue, 9 Jan 2024 20:23:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5EC333858426 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5EC333858426 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1035 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704831812; cv=none; b=rRnKeiUkg7ggIWQQ4fkG4McfdEn97+wsjhVCYFGwe0TcpZAAfQDyQpWQkvU0xSiKHE9+SraJOOGnQijodY6MleCrw+0JDd4paozCoUt6JoZJgIQoYnqSBUPC7+8BuFNr6iJAoGji7I2UQyXpR4T0lVezw5I1BPpQ8gqaI4YX+8Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704831812; c=relaxed/simple; bh=M9AvoD8Aqs6257um81l3Wnm99dyi3J6XhZkaIH/yAc0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=TW+z+Y37Eq76DTVNoanl8KTQfRJrHmfumeSiLAWcTo+T6KMYds5bOkyZsW9Tywcoic7r8bUDG3d/dfC+GoxfYtXVGt70nNydYGNWSdRgoACKfm12B1xeFxjFYrxnIeOW9lnTxuyb/aP0m2ExS0bYej50JgUrPdR+bB5LjjaW3s8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-28cec7ae594so2944302a91.3 for ; Tue, 09 Jan 2024 12:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704831809; x=1705436609; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8gg70xkDf+aW3HAwhgnAilQuj6AoF9ss0zHBQECPtw0=; b=FIfYbs9IxyfxTRrpApMeACRIwK1vg+Yz7XhsCGeXbsSE67i7DlKcqkkZldZZECwGZ5 TtIn8Vp3XM+bzOjXN5ETHTM2Qn1KzxIH5qTIVdXdqQk9Bm2OhfY6p5H9ZnpgZTKF2JFj VtQUIwnxkmJvERSVUXnwqykoxHWShJvPDQY1lED5yZBpbCHUxkoBDFqkJdjJkJhh+FK9 BJ91v2PABm6BopDJybn3jzqFtWCERoNQAkCnQw+dl033jl+kbTKGb9Qy0uIBIYrmAgr/ T/pTX+6FGA7anYm82vU8HA2js68hgIUyzvga8dgJytFy2yxT7ZKTXpPiHbdjpPlJ1Dxh +g6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704831809; x=1705436609; 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=8gg70xkDf+aW3HAwhgnAilQuj6AoF9ss0zHBQECPtw0=; b=Ybakafy+Dl3WKu0ewpSHCt34TVHnSEHlRlYT6P3hgi3UlgtO0LHaLKyRVwH/PcpjWb ToNTsraTHb3haK664QrJFSBTURGzv1yNkE7koBA3Cm1MTamQsyw+xDJbZl7qyCAF4p7o 88H4psK8LfcugadVCkZFqYUqYCt2+su3e5XlEkqdc013BXnckVJtJy+3PFaIaGYm/cz4 ZHQcTnk0i42aVh+lUWHtfuwVwkfMutY6eXxgTOwwO+x16c1/d6mttQ5OGZy9MjjFwdaw i4o5uqEuzQweHgA17PWauaAxQV4wx3Xj4tpB6PyY7aC9hvkBHWua42yzFiUeM25/UoNy zlJw== X-Gm-Message-State: AOJu0YypMJMkfSX2YsfyhC/K4z5iB7Lx2B4crjdhadEAn0BU+dC0gRVv Wkj/UTLgi302TFsxz68KYclbw3LYluc= X-Google-Smtp-Source: AGHT+IE9cHAWS+1+jxmWh4mOD19fpmkZ+NxjBeFRdaBISZ2v1CYHH6y6MCrnFQU+Ge0qM2fvFoUawQ== X-Received: by 2002:a17:90a:c291:b0:28d:2ad0:41fc with SMTP id f17-20020a17090ac29100b0028d2ad041fcmr3159214pjt.24.1704831809428; Tue, 09 Jan 2024 12:23:29 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.169.119]) by smtp.gmail.com with ESMTPSA id s4-20020a17090a6e4400b0028ceeca04a1sm2448739pjm.19.2024.01.09.12.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 12:23:29 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id BDB1F740676; Tue, 9 Jan 2024 12:23:27 -0800 (PST) From: "H.J. Lu" To: libc-alpha@sourceware.org Cc: adhemerval.zanella@linaro.org, goldstein.w.n@gmail.com Subject: [PATCH v3 1/4] x86: Move x86-64 shadow stack startup codes Date: Tue, 9 Jan 2024 12:23:24 -0800 Message-ID: <20240109202327.1565961-2-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240109202327.1565961-1-hjl.tools@gmail.com> References: <20240109202327.1565961-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3024.3 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, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Move sysdeps/x86/libc-start.h to sysdeps/x86_64/libc-start.h and use sysdeps/generic/libc-start.h for i386. Reviewed-by: Adhemerval Zanella --- sysdeps/{x86 => x86_64}/libc-start.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename sysdeps/{x86 => x86_64}/libc-start.h (98%) diff --git a/sysdeps/x86/libc-start.h b/sysdeps/x86_64/libc-start.h similarity index 98% rename from sysdeps/x86/libc-start.h rename to sysdeps/x86_64/libc-start.h index c3cc05888d..63fef17029 100644 --- a/sysdeps/x86/libc-start.h +++ b/sysdeps/x86_64/libc-start.h @@ -1,4 +1,4 @@ -/* X86 definitions for libc main startup. +/* x86-64 definitions for libc main startup. Copyright (C) 2018-2024 Free Software Foundation, Inc. This file is part of the GNU C Library.