From patchwork Tue Jun 28 15:13:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12898462 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8297EC433EF for ; Tue, 28 Jun 2022 15:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GLwzBaAL5KlDBUKcptZKxou9Xp25nRlvLKkYsmucRgA=; b=v5MBLEiuBJ3xs5 EEXI6UBZnl89J4OUcfrzIXJdoX0rvfRxW6+7vdHTfQChdy2sDuIQqbzLwii+Zdp5dEs/DzafY9PYT l6d/jHirj+R0Zy/pG2rsSmxPnvKRLhSUq1tyqastY0re80Wc6zyDJPe4bPXvp64Dv8ijfFGEcOmXX NZAGF3RasltO1S050fnEcgW1uJPnpD/x9uNl/hUqAI1EcJmcewQrK+E9YruBlTaFQe2nxHXc6n1zl A9pidYvOrDRmBXFCrdcF8jNFK0g6QOcGsGVO3o/xGCD3PS3gGx3Km4BbjadVH80c4KISDpcPSUu2n Eyvbb6DMBp2zUkroRpvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6CuX-006pkb-RC; Tue, 28 Jun 2022 15:13:54 +0000 Received: from mail-eopbgr80051.outbound.protection.outlook.com ([40.107.8.51] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6Cu9-006pbt-45 for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 15:13:31 +0000 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=CzY24YLEdeTjWCOssnQOCwRfGQBJZnSgQtKe1DwJd1DxW3p8onFWu13oqsKwQ+9FTWY8Lcuf+ZCXN2pmGBlw8fqVMtw+gyj7huUgMyw37IZral1uN7gh1+MpEk2HuE+sgKUdbl4tikcdVjtKJnP8APK5oxZpAbfh4aGZvrfi+9P3Sbs7YVo3rMwsthUa+YTZIp2dy+QMuR1E05IEIQJXnlDWEMzZW+selLLpB3eakY6fptHogPTi0YXvvihllTY6L57Zmieru0L21SaWNphWrLhi7dVjZvqP2ZGJUBD+UBt9aBXjGeUqd8wj5GoQZ4CKUCLuNooOsxJQ9y0fWYS+Tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/QbYJPVJm3sam6yt9tpejKnI+v9DZZvCO+pf+2G12xQ=; b=US12PwYZATtx4CSNgHylXBpethtZllT6i0AsQ9a28Di1Z78+y9gjQRS9zNAm7qqR5WpkxiNIwdYEpnX10l9fQ5cs46ccyCezznFBW7hvN65kjTnwFGGnBWnaKPKD8t46s+oalwRwyU/twhg/TP3ItmLJqOWtgJd3dPBu1iIqMja2DDY86DFPqAcp+/uGXU44gcw/ykuTP7KvpXZNmZzbs0A3NZ3g+YOxbGEUvTF3MhvTVpPF57pCd6L7k5AYiS2n/3vBVIbcCIFXd1Zb8amukvv5slMh51qrfpaVfrFmjmJaza1ZepPSlEDmeU4YeeCK6eN+jgc9ZqAvocjKkr4qKA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/QbYJPVJm3sam6yt9tpejKnI+v9DZZvCO+pf+2G12xQ=; b=M+fmHp5V2KDhxtixDxhFBkh0f9i9FUztWVvJ6HNGL/uxI5LHm4jALWP1bSUjhU0Ejm7jDqjj7JjaePvT6e7k6ggLVUyqQOdd+e6tCyisjpSXgWE8VwFhZzeTTlpnFFyK/hRgPAM7HLGSkMXBrbad0vXnmmYnrchZFWOxRHsfp8s= Received: from DU2PR04CA0259.eurprd04.prod.outlook.com (2603:10a6:10:28e::24) by DB6PR0801MB1799.eurprd08.prod.outlook.com (2603:10a6:4:3a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Tue, 28 Jun 2022 15:13:23 +0000 Received: from DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:28e:cafe::33) by DU2PR04CA0259.outlook.office365.com (2603:10a6:10:28e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.21 via Frontend Transport; Tue, 28 Jun 2022 15:13:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT013.mail.protection.outlook.com (100.127.142.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:23 +0000 Received: ("Tessian outbound 8dc5ba215ad1:v121"); Tue, 28 Jun 2022 15:13:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1febf8fb7db62789 X-CR-MTA-TID: 64aa7808 Received: from 4bebffe5c1de.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B8DB8FEA-1715-4F19-874D-C46F805F7593.1; Tue, 28 Jun 2022 15:13:15 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4bebffe5c1de.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 28 Jun 2022 15:13:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BRKdxcVlIgivfA3eiZYkJHoOZfR0vFaqpZADRyP0Qc6bRfZRRDm1YOahkl4fwoVHp9VCRl/nPuoZQpR8PD60HWvuYWyibWuBLGJkDLw0arBczO3a8/7D+s80KRBwLYKpOArhaAGHyqMLVD3+w2aM7J/ogDOmdfcw6kYL7Q0uJi6dJHoh6m6WHCz+QORwMFo6WNdmxh9Fb2N18+1fYVi/XR3ZeTMbcpTbD8JYP+E20B/P7gT7OllE2jRJZbFPtoGxe4HPa8H5lJveIgeTRkILEvoL7l8OwBkUZWRhqrFl3hANvUsGn6BdnE5NT9Lsm0x1gtCrdg/BunRuQeKfDbIi5w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/QbYJPVJm3sam6yt9tpejKnI+v9DZZvCO+pf+2G12xQ=; b=EZ3qX5hPxDZQH+3Az4Mb9puzI6JpQvnsaJDNCVVImNjauHVlkGwtl5S4WEOORyOMELCGIfcRj2nr4RZblnwAqzt8pV4NHKqdx7jYwoDeVcUxYf+O7mhxujccM9yWd5QLgLXOQBGIR8IuwPZWp4Wpr68ia+nChqEgyC+Rdb4KKaU+stvv4m1GoZX39lrBj+Bdvibsv41RmwGPr1Is/OzbaXDznJ5PvwQuNh3ab67I+0oQUDSLREtiT3PeMDEc3Y0LLFYoQVJSqwUVQ4FFlGaGsY8ziTI0DrI/4imcthXwtT2vJxOBcX7X3RpUtmG/d0u2KH5V4o4lJ/ioHjgcz4bfOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/QbYJPVJm3sam6yt9tpejKnI+v9DZZvCO+pf+2G12xQ=; b=M+fmHp5V2KDhxtixDxhFBkh0f9i9FUztWVvJ6HNGL/uxI5LHm4jALWP1bSUjhU0Ejm7jDqjj7JjaePvT6e7k6ggLVUyqQOdd+e6tCyisjpSXgWE8VwFhZzeTTlpnFFyK/hRgPAM7HLGSkMXBrbad0vXnmmYnrchZFWOxRHsfp8s= Received: from DB6PR0301CA0050.eurprd03.prod.outlook.com (2603:10a6:4:54::18) by AM8PR08MB6449.eurprd08.prod.outlook.com (2603:10a6:20b:364::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15; Tue, 28 Jun 2022 15:13:14 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:54:cafe::61) by DB6PR0301CA0050.outlook.office365.com (2603:10a6:4:54::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.21 via Frontend Transport; Tue, 28 Jun 2022 15:13:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:14 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Tue, 28 Jun 2022 15:13:13 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Tue, 28 Jun 2022 15:13:13 +0000 From: Joey Gouly To: CC: , Joey Gouly , Will Deacon , Vincenzo Frascino Subject: [PATCH v1 1/2] arm64: vdso32: add ARM.exidx* sections Date: Tue, 28 Jun 2022 16:13:06 +0100 Message-ID: <20220628151307.35561-2-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220628151307.35561-1-joey.gouly@arm.com> References: <20220628151307.35561-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 1ede193e-bccd-42f5-cc0d-08da5918be58 X-MS-TrafficTypeDiagnostic: AM8PR08MB6449:EE_|DBAEUR03FT013:EE_|DB6PR0801MB1799:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: U0p+tHmtqM/J5MXp2wCOiY1o+sQzoHMoQuYAy1fTG+eV9V/0M8PA+ebdGpc3t+SKg0x41JkXM6I9+YkxpKDEDjquvxQJREHx5NljWL5KRh4o4Nqt7bwekK88RGK52LEjeEoVDdy6b3Sw2dKG77QnZ8DprvxcyAxEsHVVWj9i4czQnGZlR/UvRpmy5wiGI8h6qo7rtzzr8khrRKXeb/RRttLAgy9WgHGTZ8XEYRSUlZzelPL1qkJSSpRjsmjGbFpEG/wtNOSxCvHt82XOYtBiBO9vlXHMAfMouziWca36xWvwEkxdyiuLYsIp7N4cOEHhlCwDUBdh7OZbYPI0pTvY3ucCpbExFKU5QNcjV7PbP/p/RSyowoYt/2CdL3Gs6rXCLk+03ndNkBMk1eza7odPsutOhgQym1joDAGyIHQdYy/R+mK8P78tCPX+x9RXkbw0lsltMG8du6wizq+HmLiuVfCm70J8wHTBLAqBZiq0fDLDufhuQ5VfBdfeRBmFwIiZ0r5wkG8sxYPaWzpWD2ChnkvU7WLtPtoUHf3P8tJ2yUoKa51s3B4uREsvwkK/CQUK3xEAQULK5NaE4mSsKEX1nihMt7mzuu5XVhw4f2bjHyDj6zU9kWo4mgL9Kpo2//Vd1GTNBs0ooYmFRxTuWd/asMd3WZ75do7MNUMszNnF50n/FxTMVAM/S06hHBs1PqxpI8FfLre962fTU/9HLvzXDYGoznX1PpiMBmwXfMjvRe87JkwDPH3dPgTcfY1lUAVubIgRzV5lbqu+lNOV2oWTHogsGZdX6FiqpW305p2JG4N3jEkSbe+YWw0Nb5d7Ca+bbX25gd/jF33K/u7AyDlUTA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(346002)(376002)(136003)(36840700001)(46966006)(40470700004)(316002)(1076003)(82740400003)(86362001)(36860700001)(41300700001)(336012)(26005)(36756003)(5660300002)(82310400005)(186003)(6916009)(2906002)(7696005)(44832011)(8936002)(54906003)(426003)(40460700003)(40480700001)(81166007)(47076005)(6666004)(4326008)(2616005)(70586007)(478600001)(4744005)(70206006)(356005)(8676002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6449 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6a0621e0-3851-406b-8de5-08da5918b932 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bkH3uq0CmqHJ8jRdr0jSjeVvmN4xKbJpFRvLzf5/CGDljcfru6w7NdKTjZE+MFCYuV+bwk8/v2eo1/H70q53e87KhtV6yFBN3dBpgYzGvkfM8aucu3DNDnPvGvJ7n8O+EfoNJzyD5s8hkvWM9Dpw6b8OOlvtfF+8OnSz+Vxaz6olPJq/8QkImtBa7EvzxRcyi5C/i8MlxGH6SWQmBnFbN/GlbLQaCVDaOcNA++Si22rLSSH9psZNmxJUWs+Wp/siDyeEEUQanlpIOMdtGbLRui9yBmNC3yA6acXUwszs3quaqOLlHd/hKlGZxUaCEuVzLaumGxztmKCuVBhvV709BBsqLlNu/Glu9dQ/Y1bZ9K9tDa37b/DFidKb7BlWKe/s5CwVs6Qr7qglymcShNNwK4qbTkK3AUrrIvNxYz4kIbSjFIcoOLCflCe2V5tDR3K1M7V0Mj8Vm9g3H2xg4WzXVyBce8dmp5/fY2xGJVBI5i0znjxuV2iohwQNoThA/FMK2rIjyHaIdIxU5es1zCsjtTRwx5aSP9ZxI5LIhtGWJXDkWA8/DpxRyHdI3DDiAF5I1/IOzTyF05w2ns9NMWsowmij+uQnZd0Igr79PTuJnVsw5XGN8nbjj1TEPEUq4FSn8HiRAPXE/sbT1dmQZ4rC6lKXeAqpB6woDlJHo9KMh6PizRsk0dOEkKjh3V+wpLXL8bw/lzWsGSlmDA1qqjBJv6n8zaOjb13AuL/kLIo6R/SiZ5yYluFbb/2SXj8VVm1Bha+FJC7POh53dye0hVNXgiPdZxQADk1/5X0CYDMQD3hYR2rhTiDajLlFfmGPTigr 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:(13230016)(4636009)(346002)(136003)(376002)(39860400002)(396003)(40470700004)(46966006)(36840700001)(4326008)(70586007)(2616005)(1076003)(70206006)(478600001)(336012)(6916009)(40480700001)(8676002)(6666004)(36860700001)(7696005)(426003)(54906003)(316002)(86362001)(26005)(186003)(47076005)(82310400005)(44832011)(81166007)(5660300002)(4744005)(40460700003)(36756003)(2906002)(82740400003)(8936002)(41300700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2022 15:13:23.3924 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ede193e-bccd-42f5-cc0d-08da5918be58 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: DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1799 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_081329_206085_A437C7CA X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These show up when building with clang+lld. Signed-off-by: Joey Gouly Cc: Will Deacon Cc: Vincenzo Frascino Reviewed-by: Vincenzo Frascino --- arch/arm64/kernel/vdso32/vdso.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/vdso32/vdso.lds.S b/arch/arm64/kernel/vdso32/vdso.lds.S index 120cf422036f..e2f8ced571d6 100644 --- a/arch/arm64/kernel/vdso32/vdso.lds.S +++ b/arch/arm64/kernel/vdso32/vdso.lds.S @@ -60,6 +60,7 @@ SECTIONS } ELF_DETAILS + .ARM.exidx : { *(.ARM.exidx*) } .ARM.attributes 0 : { *(.ARM.attributes) } /DISCARD/ : { From patchwork Tue Jun 28 15:13:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12898461 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23F04C433EF for ; Tue, 28 Jun 2022 15:15:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o/ydfWxUrNTdvHcf4hq8663M8Bun5UpjhvJzaLkuK3g=; b=V8rbzbgVj2O0df 723Yt8s9aKlfakD+Ssa/Fd1YdO7fmN49xAkgqyXvjuEOYOx7udilLGiQtu440nWKJj3wmafaH/mnr QuskLL1n1areFZRT6KNDkbFy/N6JDChJyFzTbPpyTn5p9JuhGi2I3xOsR1Bc3byVufM1u5CHnc2mM 0ByCrbIkVqMiaqmbYnZUGkq5mJ5J8hOb6OXfYMb2GsbkpkqzlisvRmg5Z+9kvOVoLW8F6CRv6IfPk T10xp/w9/CEgfHZkRrowmJv9ZW/Dysd9gvhvKboOBjzRdGtnkDaWJCMGByLVSo/zhkujsLscmkQBo 0JQ46yWVqn18IBTY/ArQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6CuL-006pgY-GI; Tue, 28 Jun 2022 15:13:41 +0000 Received: from mail-eopbgr00062.outbound.protection.outlook.com ([40.107.0.62] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6Cu8-006pbq-KS for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 15:13:30 +0000 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=NM6NXTEHhAHR+Gq06QYz1ZQDtZPJVlM7ud7CwTxA9RvIRYIzQEisPjvKuXvANJGBlm0YnvtG9kVsYkLfnCBUxAeXdAJ3iHcQF8sQT66rPTsChHxl0Mg6xvXBd/CoixKo7yIc7MkixnO6aLE7kW9v/MQbSWbr2evFji3gK3rA6W18drJmJn8bgll37vVDzGcaUKGFUZ0sJ7MoFTxkRj8OJxgpNIMohupfWP+HGmdBbLlkAtsDHZWcTewKjA4kHAoiIY5TIs6NVueoavYb6HY8VPsmWyCG7Y5wucTEJOnE5qrRA0nNCeymANEaoVxStd1Vm6iPrxauABnQjG9AKs1zxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tz8EFank2M7qwWkhi9FpXOOL6uRBo+TSlfNfl/Wmjr8=; b=ENTnCLZACi9cSSEiB2H0gGKm4BmTpACQp7Hxd2TU1FUU8rexOMvXLTdnI8FQuHP7NggZBOK7HparvZ3oxzp/FDA/OFfMZyZjV0D0ctJJvfU1JJH3CQWx9ule6dfIW9PzeqGSEUJIzNgnfJOA46kRgTu8xvhGzH0PslOi8aGsPGn40O8CdzmOkLUX+ZcgO604Tn6w1hFzwT6+qzZPtEAFKjt8svwEN1WRlRRtRc5KGFVebhWJM2pUepfDV2ofsVzscDqSgpPKdIy+xJgkiwC5najjGd5IifVTHOJufXYka+bA8z7swYIaJ/cEi9GnNgCSYmXLRHB028aBfz7VYm0Zrw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tz8EFank2M7qwWkhi9FpXOOL6uRBo+TSlfNfl/Wmjr8=; b=pTzZDks/pi8YCnOTXCTggaHKw2a3zEE6ktwkUEHoM2/IRrppwA3WSDKh/DxnpRln1CMjY5s8vogTj5u5AmAnLhV1C6/Y265peADgb0y/rh1IT5dym6WjO4B/LWp0op0lj4duy0GLMoqxif5Bjgcv7iPYcjKzXtwiLfmFrn7SdSM= Received: from DU2PR04CA0245.eurprd04.prod.outlook.com (2603:10a6:10:28e::10) by VE1PR08MB5056.eurprd08.prod.outlook.com (2603:10a6:803:116::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Tue, 28 Jun 2022 15:13:24 +0000 Received: from DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:28e:cafe::9a) by DU2PR04CA0245.outlook.office365.com (2603:10a6:10:28e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.21 via Frontend Transport; Tue, 28 Jun 2022 15:13:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT013.mail.protection.outlook.com (100.127.142.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:24 +0000 Received: ("Tessian outbound 8dc5ba215ad1:v121"); Tue, 28 Jun 2022 15:13:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c1a7bc8ae22da43d X-CR-MTA-TID: 64aa7808 Received: from b493156da352.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DF0AF746-48AA-4A02-82CD-E8A9D20C9F4B.1; Tue, 28 Jun 2022 15:13:16 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b493156da352.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 28 Jun 2022 15:13:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AGNdVs2+HKflMOt+7IM14lZICmvHTcQqALdDr7EUA67X2D2n4xe14wnZ/2hBgrSPrbRxnkiAXL8UMIp1CInfeBEXu5vYl1sK3eKw/9H85XwBxVibTFWvQcIfhZORX3TdlOaTVjxjEEO/l3E43dBn1P92bniHLpUrMwq96AzxLeJQyrjmUBWflimDL4Fet7rcIaoWaRUKwgcFr6Tv87yY7oWi0BPHJab/T5MJVkff7juP5b3sg0ftJjN8TGNQq16oQqG0nOknRO6cMDRKVO4o8LO7DFEkrMoZ9Ms3N7wvDatHqNqm7whchtGLQIPxHSqRZpzR91pB/crKaU1ykZpaKw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tz8EFank2M7qwWkhi9FpXOOL6uRBo+TSlfNfl/Wmjr8=; b=iVDJxWRwL7dKdEdMq63IcgejCiMjKbtlJdWsDnI6n0cDZp4A0fomZOtZh4oOaE6N/nWyVGsg8pgOWr1t3YnshmjeHIO3befCGf1eAcV1xy2gBAiwqgSeGSrc6dYqK9ydxhNMxX3VPpu6Gw8b7CWpnWIcy+81HZmRluboPtfbtl5iiNzXKqZQcKVcuqc3DRWKAlFm0rxUrwaBzpFOcKpCF46r9/y0rWYgj9XdjIlG6XQ9ayTCcL9NdsIK00EXRrjQm8ZrYbl886cOZrQfM9Rsaw5ze3xlg6Jwoesw41D7H04h4ZCaMoHBb44K28VOR1ARFRN+PTAcVN6rYhytLc5oNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tz8EFank2M7qwWkhi9FpXOOL6uRBo+TSlfNfl/Wmjr8=; b=pTzZDks/pi8YCnOTXCTggaHKw2a3zEE6ktwkUEHoM2/IRrppwA3WSDKh/DxnpRln1CMjY5s8vogTj5u5AmAnLhV1C6/Y265peADgb0y/rh1IT5dym6WjO4B/LWp0op0lj4duy0GLMoqxif5Bjgcv7iPYcjKzXtwiLfmFrn7SdSM= Received: from DB6PR0301CA0064.eurprd03.prod.outlook.com (2603:10a6:4:54::32) by AM9PR08MB6148.eurprd08.prod.outlook.com (2603:10a6:20b:284::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Tue, 28 Jun 2022 15:13:15 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:54:cafe::4a) by DB6PR0301CA0064.outlook.office365.com (2603:10a6:4:54::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.21 via Frontend Transport; Tue, 28 Jun 2022 15:13:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5373.15 via Frontend Transport; Tue, 28 Jun 2022 15:13:15 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Tue, 28 Jun 2022 15:13:13 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Tue, 28 Jun 2022 15:13:13 +0000 From: Joey Gouly To: CC: , Joey Gouly , Will Deacon , Vincenzo Frascino Subject: [PATCH v1 2/2] arm64: vdso*: place got/plt sections in .rodata Date: Tue, 28 Jun 2022 16:13:07 +0100 Message-ID: <20220628151307.35561-3-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220628151307.35561-1-joey.gouly@arm.com> References: <20220628151307.35561-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: b1e2158f-99e2-4f3c-4b07-08da5918befd X-MS-TrafficTypeDiagnostic: AM9PR08MB6148:EE_|DBAEUR03FT013:EE_|VE1PR08MB5056:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: eXUCgLbIgRzk+D/L9BgZOpCNOd6aEbucZCThUcGJ8BPCjDEV6sMKkjFpfWCzyHAJrRFSpTGZmPHqB7qRtAZPUKn3/248Yfsk9RJVBCr8Qp6Ur0jaegKPTePOVuSbxVvOyTotIb64uwVv+fsOWxGNGsGYARHrd6naQ78gaq8i//xblp3TOp/KmVXRWburwB8o2MHkzgpGQyuIdOaQETdBuGwumT1bJMR63Is9rLze9zcfq2eZqDC/d2huzHUpzfxT2pUHHYmpunpxRvQ5Sx+ie2HpI6v1iuPyzyw3wx9C/szo9pA+iaiDe0f8sVsLSqX4Y60Wli67NyeZ6cI9s3x9CpwqFx5+4hTdu3mvXOIaKcB1BgUp3fNG11ia358AzP8Np8LZtVjQfXcUiyBJx4MAAeVIuCW61jE36lP0vttuJDgv9MJMvfUCSuzgWbO6UbfsfQKuIxezEV8kO/CurYADZpkUI7RQYqbkPciHXvZZ2PJPrjreHK4XwL0QwASt2YI8TdvFh9I8vx9WIy8ngXE/KFAACl7pYQAljod/fXi+22AY7ofb9b8Ygwj6bS4UkuUo7EVL0FAKGZinJk8bxMqA2QnUsHbBSHWklfHuSSNGWAuDBFna6g1pWWDzf42zsr3BXO4oAPe5hTvv5BF8a9tIUOJk3FuYpwvm0b8BzU2CqFalivxYq9UVB+WtZY6IqfUQzi2oWPlBL+Dr0hjibC/IX/ngyltODHTxZZyRcduYqAGLiUBKFBEhKB378qmVDDWzvylhIcT8RgOtObTUaD/nX87wP3lUEWB1pXIeNRRpsqCQ7j/m36v67K3xAeGbeo+KVWjKSen3O4A02FuI4k2REh1oigiH2adlMWRPgBukMt9EETPuVU6H2HtyovmGoP8yTzxHzXqZaGMJ+6j7A5sXfA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(346002)(376002)(136003)(36840700001)(46966006)(40470700004)(6666004)(86362001)(81166007)(54906003)(44832011)(316002)(82310400005)(356005)(36756003)(36860700001)(40480700001)(83380400001)(6916009)(82740400003)(426003)(336012)(1076003)(47076005)(70586007)(8676002)(4326008)(70206006)(966005)(26005)(8936002)(5660300002)(478600001)(186003)(7696005)(2906002)(41300700001)(40460700003)(2616005)(142923001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6148 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2a2fe501-6117-417b-b0be-08da5918b977 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QTCfM8IatZo9Fnt26c8r5VffOF7GFWM9iiM50eKyqUcQ0tShuPGAWVzvziZcfp1JGSBuqcTlV1LhEybh+0dtblDPhz0YX2Rxwrdz4Fj1fsYSk/qWqbC7b2VJ/kUYqMytQDak3tzwzHjH+yH/m+XnYf2I2vYMWeMUY6bQK3SaRTah2TzMzbUq5wOkCeeyh9Mk8/0xo0QJx+HEaI5cFXAZ7wZTBe0H6GIKa9AsLsPdIsxdcwy3832Jv9MqB2GxIpzlatmGt4pXQ7giwrYactkto8oNgQ5fOSHUgP7GInmjhfGwYPUvTzVHLXrA1ji5Z534Hn0g7xe0D6rEN05TGKfYbFeLHTL5pHK2aXQb6GoCczOKgcgWIhfSs87YDDyXXClUH4B4aHkp5pUaHDU1A+OXVNHwKrP13c3e6Rzp/6EiaAJlAWQ64tsrA8OuL+BVJzt/hW1vwaYB3cedu7O0lRRPcWDu/XH1wa7aejQigDbR6TzVt+oPt+F+vJJdofEj+TOI4vwZR6VXcM/4vBGmp6cuCyUM9XING8xBa70urspzPXbuqI3ZKJD5WF0mfarvmz0ZWIAl90Q9pwxi5eCwG1MMbmBbUSS40LoVrvGQWIx8kn+egvgQAqWCwFjHHixyN99HX50Hb6dWZSEbYQnGegWR/CgXO1P0uAxo7t+Z9I9TLdtFK4+QwmZy5vOg9XBdMJyWdl+q6dg3rj5zLeYomsLvo15VbvdfSnvqmbkf1CnKHHePSLDUWoiwqQCJoRTn/lnWce35p65MyLPNQ4l7OrwaSl0QznzWwV4OTHm8uhRTvK72qhqMaUHJ1L/YitZYR8pEo9eGAbVcxBUcHqegZY/DVUihQ8LqGg8ogF259hBZe/c= 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:(13230016)(4636009)(136003)(346002)(396003)(39860400002)(376002)(40470700004)(36840700001)(46966006)(36756003)(82310400005)(4326008)(44832011)(40480700001)(8936002)(316002)(966005)(40460700003)(70206006)(2906002)(5660300002)(478600001)(86362001)(2616005)(426003)(47076005)(36860700001)(1076003)(54906003)(70586007)(41300700001)(83380400001)(336012)(186003)(8676002)(6666004)(6916009)(82740400003)(81166007)(26005)(7696005)(142923001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2022 15:13:24.4704 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b1e2158f-99e2-4f3c-4b07-08da5918befd 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: DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5056 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_081328_718806_7309A828 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The vDSO will not contain absolute relocations, so place these sections in .rodata. Signed-off-by: Joey Gouly Link: https://lore.kernel.org/linux-arm-kernel/00abb0c5-6360-0004-353f-e7a88b3bd22c@arm.com/ Cc: Will Deacon Cc: Vincenzo Frascino Reviewed-by: Vincenzo Frascino --- arch/arm64/kernel/vdso/vdso.lds.S | 12 +++++------- arch/arm64/kernel/vdso32/vdso.lds.S | 23 ++++++++++------------- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S index 1cd85258c079..e69fb4aaaf3e 100644 --- a/arch/arm64/kernel/vdso/vdso.lds.S +++ b/arch/arm64/kernel/vdso/vdso.lds.S @@ -52,17 +52,15 @@ SECTIONS .rela.dyn : ALIGN(8) { *(.rela .rela*) } - .plt : { + .rodata : { + *(.rodata*) + *(.got) + *(.got.plt) *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) - } - - .got : { *(.got) } - .got.plt : { *(.got.plt) } - - .rodata : { *(.rodata*) } :text + } :text _end = .; PROVIDE(end = .); diff --git a/arch/arm64/kernel/vdso32/vdso.lds.S b/arch/arm64/kernel/vdso32/vdso.lds.S index e2f8ced571d6..6e67a6524d58 100644 --- a/arch/arm64/kernel/vdso32/vdso.lds.S +++ b/arch/arm64/kernel/vdso32/vdso.lds.S @@ -36,7 +36,15 @@ SECTIONS .dynamic : { *(.dynamic) } :text :dynamic - .rodata : { *(.rodata*) } :text + .rodata : { + *(.rodata*) + *(.got) + *(.got.plt) + *(.plt) + *(.rel.iplt) + *(.iplt) + *(.igot.plt) + } :text .text : { *(.text*) @@ -46,18 +54,7 @@ SECTIONS *(.v4_bx) } :text =0xe7f001f2 - .rel.dyn : { *(.rel.text) } - - .got : { *(.got) } - .rel.got : { *(.rel.got) } - .got.plt : { *(.got.plt) } - .rel.plt : { *(.rel.plt) } - .plt : { - *(.plt) - *(.rel.iplt) - *(.iplt) - *(.igot.plt) - } + .rel.dyn : { *(.rel*) } ELF_DETAILS .ARM.exidx : { *(.ARM.exidx*) }