From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by sourceware.org (Postfix) with ESMTPS id 91F3C3858D37 for ; Tue, 19 Mar 2024 11:12:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 91F3C3858D37 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 91F3C3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710846783; cv=none; b=YaYgc3b81FY8u3m87rf5lSNwgSjKXXPpkWYTNs6lrOaK/5dplXdK6Mx5quj3wHcsO9qdw8NhM6somlH+MyHuiincPkypxAa5a75KGqwNcmthUUA7X12O2Q3vOpo8y0hoAr7HBnP6q8NUk9c+PMQcMQMf5O9MR0uqKlM47bTtU84= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710846783; c=relaxed/simple; bh=I593ZKvLvRPmpfWFwm+esQlG05JDNzpYI4P7bitLiVE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=QAttwy+hLxdEN8HAMy+mQ++IbaP/MjKRRRHKIXzWMXyLzx/IgQd+bSsuaNYr+R5HZ8MVHJba+hXhso7wR7wcG0iyV/h8yjz15EK/ntG4S/Ve9disKo/1QAn9R80Sgc9FklMHJEMGBr0/KZnKcfUXv+AuiF3X8l0OQdMCz1lBcJ4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-dcc6fc978ddso4374783276.0 for ; Tue, 19 Mar 2024 04:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710846778; x=1711451578; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WN/3VCZnwedyKll9xQ7opaY3QUrz17MOJhSeEQHdYt0=; b=Vnyr6KTeaq24MIG8ZGxGMpgMHOBpm+PSR0Bv4H4PlIQMiM60Gq9YdyfOgv1ld7zqcn t7tnPhblJdwtNHQzHbKmTeOzIDr+sNvKcp502y9+1j2S790fAU/evgagXY7BhZRUUhCS N6V5B+zcbL1NOZSQXvTY9tGGubAatQFayReAVwXr67EFkVqtCORMODT86sM/3q2Quceq s0H65B3X9LGbSbPKY3YExxw1Zb00TAQngzrin8ZlaBDhODa385T9TGSRF+GEeoG/EZYd FT4ir97hwjeK2bB+CSeIkchS4vt8lh8q/kCXcFHbAsIgIQfqOYttdgcFnDvPySN01QDm r8jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710846778; x=1711451578; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WN/3VCZnwedyKll9xQ7opaY3QUrz17MOJhSeEQHdYt0=; b=e2UPoa+64nDQkg8sB/oxecCBcDQsWDeandH3/tNh/M+UYOHj5OJ0azZP6ilh7MpGAb 7EqDAFhUDxjlZ0+lJMY8BGDO4y0gVzuSd3SlzxEv7nk0DJNBUmZ35WtFi+rm2RrHL8BO bIm/XB/I++ODQkMhCxuPh9ktCGKe8YFpEvczkYkF1GEuxsrHedSXdEm4po9Liz7qsrtC EAhmzdS/0S9EGB6W+OMBvRPTgjEPIQAcNpHrFrBxyUSFnkjRmWRDhyGxXnBFZmENeK4B a4jbO93Uk0HcHfNCoh4MrFVmB6Ee588QJmlZbImaDnGwp9BZtTBHTkPbho6+Z/C22FyB Ba5Q== X-Gm-Message-State: AOJu0Ywc7GT3DN+j0h/UYhOVYEiQmQSuMNMt4sc2TrYPxDW1NqgtDJKl sh0XDLvc+nk8qnD/4AQ6Q3+u7Kz9MsYl79PMRY28divlzRi8n9gZtC8f5z/dBqOSQsILWSE7zCk mRoeuto7XlQ+bCZhtAcqbK5GunTU= X-Google-Smtp-Source: AGHT+IGeQoR1rx9FOaPUiK54GZvdBfhYKl54SpfvjnlbJEwdIT3Ka5ucNbygtJ7I1VJpNbNQuXTTFxb5RDEs+8yPBOU= X-Received: by 2002:a05:6902:178c:b0:dd6:7c00:5cdb with SMTP id ca12-20020a056902178c00b00dd67c005cdbmr1279672ybb.14.1710846777855; Tue, 19 Mar 2024 04:12:57 -0700 (PDT) MIME-Version: 1.0 References: <20240318134016.820218-1-hjl.tools@gmail.com> In-Reply-To: From: "H.J. Lu" Date: Tue, 19 Mar 2024 04:12:21 -0700 Message-ID: Subject: Re: [PATCH v6] x86-64: Allocate state buffer space for RDI, RSI and RBX To: Andreas Schwab Cc: libc-alpha@sourceware.org, fweimer@redhat.com, skpgkp2@gmail.com, goldstein.w.n@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3019.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,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 List-Id: On Tue, Mar 19, 2024 at 1:31=E2=80=AFAM Andreas Schwab wro= te: > > On M=C3=A4r 18 2024, H.J. Lu wrote: > > > diff --git a/sysdeps/x86_64/tst-gnu2-tls2mod1.S b/sysdeps/x86_64/tst-gn= u2-tls2mod1.S > > new file mode 100644 > > index 0000000000..1d636669ba > > --- /dev/null > > +++ b/sysdeps/x86_64/tst-gnu2-tls2mod1.S > > @@ -0,0 +1,87 @@ > > +/* Check if TLSDESC relocation preserves %rdi, %rsi and %rbx. > > + Copyright (C) 2024 Free Software Foundation, Inc. > > + This file is part of the GNU C Library. > > + > > + The GNU C Library is free software; you can redistribute it and/or > > + modify it under the terms of the GNU Lesser General Public > > + License as published by the Free Software Foundation; either > > + version 2.1 of the License, or (at your option) any later version. > > + > > + The GNU C Library is distributed in the hope that it will be useful= , > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > > + Lesser General Public License for more details. > > + > > + You should have received a copy of the GNU Lesser General Public > > + License along with the GNU C Library; if not, see > > + . */ > > + > > +#include > > A testsuite module cannot include non-installed headers. > This is a very special case. Does it cause any issues? --=20 H.J.