From patchwork Thu Oct 29 08:39:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 40914 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 C26323984075; Thu, 29 Oct 2020 08:39:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C26323984075 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1603960786; bh=4wbJN6ZaUIwY7bnkBT5PJ72ebpFFPUJCo1odEADfP9c=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=DdGSmP29Uxy8bbm5OyzGu856K2lFYZw9WyV26WVCl/qQSwAK+SER6AXCUnFIz4vj0 w8cjWl5rbhhxB+cMa97eTx+9YlgRL28kY7X0mPhsz8jbeNGvZpPJwy9RXt0bAxCUOo yphqZR35eWRHs99d3uj93U5VAMhi2jn63fIZR+K4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2054.outbound.protection.outlook.com [40.107.20.54]) by sourceware.org (Postfix) with ESMTPS id E9A52385EC58 for ; Thu, 29 Oct 2020 08:39:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E9A52385EC58 Received: from AM4PR0101CA0053.eurprd01.prod.exchangelabs.com (2603:10a6:200:41::21) by HE1PR0801MB1787.eurprd08.prod.outlook.com (2603:10a6:3:80::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Thu, 29 Oct 2020 08:39:38 +0000 Received: from AM5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:200:41:cafe::26) by AM4PR0101CA0053.outlook.office365.com (2603:10a6:200:41::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Thu, 29 Oct 2020 08:39:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;sourceware.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT046.mail.protection.outlook.com (10.152.16.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Thu, 29 Oct 2020 08:39:38 +0000 Received: ("Tessian outbound d5e343850048:v64"); Thu, 29 Oct 2020 08:39:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f8c6db7d3ef46434 X-CR-MTA-TID: 64aa7808 Received: from e52a426f1dff.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 705FF3BB-1332-4EE2-95DE-550416E4D6AB.1; Thu, 29 Oct 2020 08:39:30 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e52a426f1dff.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 29 Oct 2020 08:39:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nEq9nqqlZZR32p5QZgz6qQndqn+fzzL15vB9Rvoldkf7HGmZEsCpxkkKLFme8p/nxhbAmC79CbpfUXDnxdVaEI9pvsdJ/3/TodW1Yel96JZt2EG2FkQpBQ9ZqUIpYq8oVimPMSCGM8iT+PO72ziIL5UbEVya+vIUq0ArAHOtZqgLKlkJ5XkUNeRVKvuA5QNPvJPM5/JKnENQ7Sp0j0IaAk1xVbujQMDCM0O/5WPog9IVwMSL1ONWL5W6aNAwjKjwIZS5+vVCaqEasjsQ2mhyM96wvW6XP0ztxNcybjbGjLQ41GLe13Mk+HHALm8gwqB0buQPOikxuOtMgVsNGsM71Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4wbJN6ZaUIwY7bnkBT5PJ72ebpFFPUJCo1odEADfP9c=; b=d46pVTcwZTS38dcOiM/I7gnwew9dKgex427snNwLkqYxv/Zql4eleJNhAn6dnN2jkTpv0uvkbtIGoT9FMlQ4Gr65IGE3132xxRQoGrsvmds0abiX3aWW/AKXglHXweh5CFMaVOF9AE936JOsbBlVdR8J7be7bmPuCDwCfMr8KhaGSjOk72+2Y8ao+gnQT+AluMTZYHfP8PtXojRyY5LudRWodGW8CDJcNAiGukPWrlzqw5JI5MAaqbBYQC1uOUc7A6sOS4bZigFvRoai8Vyj8a0Z27TkTDxumaNlvZOH5HPstmAQ97Fi+INeQZoP9+kAx+aReHGtHqk+gQNlPY+GXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=arm.com; Received: from PR3PR08MB5564.eurprd08.prod.outlook.com (2603:10a6:102:87::18) by PR3PR08MB5611.eurprd08.prod.outlook.com (2603:10a6:102:85::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19; Thu, 29 Oct 2020 08:39:30 +0000 Received: from PR3PR08MB5564.eurprd08.prod.outlook.com ([fe80::2904:edcf:b299:f792]) by PR3PR08MB5564.eurprd08.prod.outlook.com ([fe80::2904:edcf:b299:f792%3]) with mapi id 15.20.3499.024; Thu, 29 Oct 2020 08:39:30 +0000 To: libc-alpha@sourceware.org Subject: [PATCH 0/2] aarch64: Fix variant PCS support [BZ #26978] Date: Thu, 29 Oct 2020 08:39:21 +0000 Message-Id: X-Mailer: git-send-email 2.17.1 X-Originating-IP: [217.140.106.54] X-ClientProxiedBy: LO2P265CA0090.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::30) To PR3PR08MB5564.eurprd08.prod.outlook.com (2603:10a6:102:87::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (217.140.106.54) by LO2P265CA0090.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Thu, 29 Oct 2020 08:39:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a5d3195e-9ad2-489f-d62e-08d87be62be2 X-MS-TrafficTypeDiagnostic: PR3PR08MB5611:|HE1PR0801MB1787: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vHfSGBel5NeAMDS/7d/l2+L+EKceJYP5Hw+cxYFd40CN+PE2q/ZhqUbB+13jzXP8UBAGDJ1suf08bdE4HdGkJg5Iwf9Ug1TUXaUY1HVChjFjdVtwd1PH/bd+1Hv+mcl2uy2+MFm9tGlqHST5UD4R4NTNBfkc20ttE9TuqZTM66mDroocDVZZSNwRp6v1XKZIhIiIkhJs3ztgu/W6armtfeUAHYgfOSMKCB/d0TiHgiSNJKChvA9GxUYaj4uor92cxgW6AP4XjBbLwN7fw/tUD5kxhrn4bgjnoStXSqCgQW2xaFWPh+pJK//D3Oi4AHrWELnFlyU9y586/hNAcyPf79WdkU4Nfon2ugt2ICI5jZZt6bRox5XFfAX7d582i4mH X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PR3PR08MB5564.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(346002)(136003)(376002)(366004)(6916009)(6666004)(316002)(4744005)(2906002)(83380400001)(5660300002)(86362001)(6512007)(36756003)(478600001)(44832011)(8676002)(66946007)(66556008)(66476007)(8936002)(6486002)(956004)(2616005)(52116002)(186003)(6506007)(69590400008)(26005)(16526019); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: lIhUAQ9YFWFgWcFS1TohTvLj6HPHG8qyoeaz9+kbURDygnwpQyKccB5o/WokAXkGwUrcPYJLSVb3bBseDi136OGFFVS0cC+zQJw3XvuL9K6MZd5hRZvgPN4ZF+O5eDMJo/ehE6lGqMXxahG6ArcDqMRRneQzfjzhqBpqIJ09cgEDsToDSmRN0J5OU2t0U9MMQo7DYEROQB3s6HTLZFE2pT9V58PTN7oHW6RevhN1RyjbbLtVDDIjw7eFrBfR931eiN7yjiFs92+0KbbDleAKkWZm6R5OSvq5R0fxGh8CKY2qHoBU582aCMgbiONEnP0FMbf8GLbTsRIwpukGNwsQF8YU74ITccxwP/A1/TSeiaScp1siNEDv4VAlVklWMtNWdISj7Ic+Zd0qhdagpFdGCWdFaa4XF7XkWX+YLA2+mnwoPCt/7vaA3kWQjSzn4D3skOzL5huoN/bp9TO4x1XRn/dd/KVelHCyGz9hhX6Kka06L3vQyYU8ztGQFg+Z88FvS7X16iK6viaS1+MZsaJnQtJnEl7sOiPfbCK1WuWmS4KR//RS6nrrxfc3tFySUnYTAo9QScxGz2/h68yUQ8HFrogt+PflYWQnzIOa8ZrUfLmllrzz0Wy+9iu/OTPNPxDchvAYsxt518kgDMI4qUScSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5611 Original-Authentication-Results: sourceware.org; dkim=none (message not signed) header.d=none; sourceware.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 39d69889-b997-45d3-1a1f-08d87be626f8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hUI3sbjEaT0c/oeOMm1LcPqYAw3Isz5scQBi+1v0AGqPGXUQBz7pekHEZZaPuk25raQO3OgDr/btrBAC55KHBE9zAwjh6KHpdB6iT2zqFO4piNa6Phhzx4NRPWM1aTCE5Mn6IDIwRcm6+uQhnvrEx7844BGAYF5QWA0I2vbsqMee2PLoF9jdKx+S3HYgJUKT84y753XQ8zgzc93S1uKLvOIbGmsrZeYrzg7LLmP8awcQQ05bnNrm8Q5JGbWbCP51TuUiwlHs+rpRwvk5H0V54EyFxuTHqLnjO7WWlAlOKRB0gUbsn4N/fYsi6zwn8Wgsbf433oOLgolARr2YisqzcNVGuatLHr0Bbtb520wWH5W0NrSVmhdASiIc/qSvoxI+3IR2EmNo+esXFsDdx7QOSjQr87VxPOA3Gyw2MwVBOzecuIC5DoB7jquwlhmrD5lC X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(39860400002)(136003)(46966005)(6666004)(86362001)(478600001)(36756003)(4744005)(8936002)(956004)(47076004)(6916009)(5660300002)(8676002)(70586007)(6506007)(70206006)(336012)(81166007)(82310400003)(6512007)(69590400008)(2616005)(44832011)(36906005)(186003)(6486002)(82740400003)(83380400001)(316002)(26005)(2906002)(16526019)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2020 08:39:38.1376 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a5d3195e-9ad2-489f-d62e-08d87be62be2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1787 X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Szabolcs Nagy via Libc-alpha From: Szabolcs Nagy Reply-To: Szabolcs Nagy Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" My original implementation for variant PCS support has a bug that makes it ineffective. I plan to backport this fix to the release branches after some testing, the test case is separate because it requires configure changes to check binutils support and thus harder to backport. Szabolcs Nagy (2): aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798] aarch64: Add variant PCS lazy binding test [BZ #26798] sysdeps/aarch64/Makefile | 7 ++ sysdeps/aarch64/configure | 40 ++++++++++ sysdeps/aarch64/configure.ac | 22 +++++ sysdeps/aarch64/dl-machine.h | 12 +-- sysdeps/aarch64/tst-vpcs-mod.S | 141 +++++++++++++++++++++++++++++++++ sysdeps/aarch64/tst-vpcs.c | 78 ++++++++++++++++++ 6 files changed, 292 insertions(+), 8 deletions(-) create mode 100644 sysdeps/aarch64/tst-vpcs-mod.S create mode 100644 sysdeps/aarch64/tst-vpcs.c