From patchwork Mon Jan 16 23:58:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 44399 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1462526wrn; Mon, 16 Jan 2023 15:59:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvwWG6YXhEgP3huHb5C47R9K5X+1HmJGh6Wh5WW3f/exQUXVrIwh1fYf1SmvnSu8wOgcFQq X-Received: by 2002:a17:906:816:b0:871:dd2:4af3 with SMTP id e22-20020a170906081600b008710dd24af3mr857476ejd.21.1673913558566; Mon, 16 Jan 2023 15:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673913558; cv=none; d=google.com; s=arc-20160816; b=uUyKCHgpVTPTT5DnXhtNx+y/ubYXUdNqA6PSSKBaRHW3uQIPW2vie5qHa9s5CcB0iM 6NuT/OsPZDRCMkgCTqmc0tYaz9deV0u9mjDS/h/h1o7M+7dXbA64mXllUUPU7x2glhgX F1747WPO+HRlP/LutPZXi1DqWqncchvdp9g8vRB6IV8i/aDRzznbzHTKHB/xSUcE16pT xmgeaK4i4neMyrmxO/8c+J/03GHZelnm4+Z2CQNiK/y5jQNmwnQpMQaByqNmDyKvfzc+ Hb24Cb2rYqwtGC4muUIlXJSSd1lInmcwFuDYXsrrEtT2prddvdw5Hk2POOjzEsgf2rwY e2kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=9tgOboRm7YdPM52k3G3oMb+TL/OsUfzLXKnGRt7VUWg=; b=xJ0OnIvalDVZPbdwWxZYeI88/IYcCjxLSS8vCDfWZChnwH+sIYm9lpXNipfJ9GaHD9 I++rkokpR69TmVNVF6iLpumFC1QQOsUaTDCz4+Y6r7VlJQrlw0ltmTIpHsdZZtp7VGBp uuSNN3zuXOAHDdfvWlH+3KflA8oOV3Cnkwu/ZUxJPHrNhLqVOa1a+hHgFmcujyx97cYe QzQ+u5MyAETgwUPEdtuBrlR5+2oEz65D8gBE9PK4VWhJIUbePvKUQ214ZB4TWO+tBcLK X2569mcFYI4Yv5xFwEt5+q3lDK9Ev11tRYWm/F0I5koyhImWAOm6Jl+KEGtHJK6SIC/Q sopA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="j/fGjYfB"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id sc14-20020a1709078a0e00b008708a80a179si4819172ejc.22.2023.01.16.15.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 15:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="j/fGjYfB"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6046C3858C83 for ; Mon, 16 Jan 2023 23:59:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6046C3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673913557; bh=9tgOboRm7YdPM52k3G3oMb+TL/OsUfzLXKnGRt7VUWg=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=j/fGjYfB9kpWhiKTTOXj5DzgLxh+btECOpbszVaL6obazp2duC3f7w6I5nmgpT1t/ YDa9PWg6KYTO7TDs+xCruKbQAgebhDco47OmA6TZdQ1DjVCsfl1pdiwkObUIW68d0a 6cXubLS/AuFY+IAOS7Y7u9QSp3qwPXY8gFtQYG5M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by sourceware.org (Postfix) with ESMTPS id 1B5153858D32 for ; Mon, 16 Jan 2023 23:58:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B5153858D32 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30GLgVBk029665 for ; Mon, 16 Jan 2023 15:58:27 -0800 Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3n3vst7yvw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 16 Jan 2023 15:58:27 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 16 Jan 2023 15:58:25 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Mon, 16 Jan 2023 15:58:25 -0800 Received: from vpnclient.wrightpinski.org.com (unknown [10.69.242.67]) by maili.marvell.com (Postfix) with ESMTP id E71513F7065; Mon, 16 Jan 2023 15:58:24 -0800 (PST) To: CC: Andrew Pinski Subject: [COMMITTED] Remove reference to Solaris 9 in comment of add_options_for_tls Date: Mon, 16 Jan 2023 15:58:16 -0800 Message-ID: <20230116235816.658483-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 4DbsarngWUFlUbmqNUXiqKdyqsiQLTmP X-Proofpoint-GUID: 4DbsarngWUFlUbmqNUXiqKdyqsiQLTmP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-16_17,2023-01-13_02,2022-06-22_01 X-Spam-Status: No, score=-14.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Andrew Pinski via Gcc-patches From: Andrew Pinski Reply-To: Andrew Pinski Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755225584074446153?= X-GMAIL-MSGID: =?utf-8?q?1755225584074446153?= Since r5-172-gd9f069ab4f6450, the code no longer matches the comment as the code for Solaris 9 support was removed. This just updates the comment to reference AIX only as the code does. Committed as obvious. gcc/testsuite/ChangeLog: * lib/target-supports.exp (add_options_for_tls): Remove reference to Solaris 9 in comments. --- gcc/testsuite/lib/target-supports.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index b906d4004be..38b95145117 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -869,8 +869,8 @@ proc check_effective_target_pcc_bitfield_type_matters { } { # Add to FLAGS all the target-specific flags needed to use thread-local storage. proc add_options_for_tls { flags } { - # On Solaris 9, __tls_get_addr/___tls_get_addr only lives in - # libthread, so always pass -pthread for native TLS. Same for AIX. + # On AIX, __tls_get_addr/___tls_get_addr only lives in + # libthread, so always pass -pthread for native TLS. # Need to duplicate native TLS check from # check_effective_target_tls_native to avoid recursion. if { ([istarget powerpc-ibm-aix*]) &&