Message ID | 20220413101832.4594-2-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 C79F4C433F5 for <linux-arm-kernel@archiver.kernel.org>; Wed, 13 Apr 2022 10:20:38 +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=hAErKeuE610H56n3pn9i0U2E+6/3oIKL0GqQHYBCC/0=; b=OQtEFOWr7RnqQD RNpaWEFbbw7tdUWdGdWQ8kkfd+eX6aeAfVujJ3DGJQGVlyrIoy3FNcsw1D05PWqVjxUfsImY6bfBQ W+eJk6k2u+nSM1IFV0lmwgU7nPlsSwC3MHAgSaYydJ9pRcBRGkdzZ0JA587zNs4a1gYJ7wKtd7c1z 6OcC+nXrkc2oZddZ/OahwxIgqYYT0izLCyMulsHvROF1TLtw3DAiMA6nxQd97d8fDuKQATEdWaqu1 dGsVZeREn58dnkMSnuV5e18nouVsI6Eczw4GbPBJ/INFO/lF4pNUWyIpx0b7nKbsBXWcwQLnYQouy drI7Ef6CXflJzcwpz6/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nea5l-000VFI-Ti; Wed, 13 Apr 2022 10:19:18 +0000 Received: from mail-db5eur01on062a.outbound.protection.outlook.com ([2a01:111:f400:fe02::62a] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nea5Z-000VDU-Ow for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 10:19:07 +0000 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=prHK7F5ToHtjCKK3sZFbHf+/MhLZqRuHmSn5VTerzqo=; b=NFG4IXASTt4xbzhXL7Ok7lqKVlfkALPLcORSqKGsoMWBiRC9ugdGRG+vJsOy+18Tsj8kFc8wCvcBQeZswM+f/dEZxoTsuV0/zk1zuGcbogU7GgOyftCL1yywLBlZyJMaFW90Bf2LXv+E0ORXUMedOfisbqaQ3snuHQYtAPzQgcY= Received: from DB6P193CA0008.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::18) by PAXPR08MB6752.eurprd08.prod.outlook.com (2603:10a6:102:131::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Wed, 13 Apr 2022 10:18:58 +0000 Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::32) by DB6P193CA0008.outlook.office365.com (2603:10a6:6:29::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20 via Frontend Transport; Wed, 13 Apr 2022 10:18:58 +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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.19 via Frontend Transport; Wed, 13 Apr 2022 10:18:58 +0000 Received: ("Tessian outbound 9613c00560a5:v118"); Wed, 13 Apr 2022 10:18:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f1ab3a3baff0d018 X-CR-MTA-TID: 64aa7808 Received: from b7664f8b45e6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8BAC76BD-2F1D-475E-8907-DDD570C8B73B.1; Wed, 13 Apr 2022 10:18:52 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7664f8b45e6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 13 Apr 2022 10:18:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UzxljwgvgXASDkqX8Vi6iVbD2X81xu0ITlMBUuNUPeaUNmElaZ/aVhzCiGvaguy7hUXoJVY4bMfAzJEzy/CRVCzIDgceJ6LToEoGYewX5OwWEnVjn+wtETlBkMpiwxCce259gufcPK/yzrKZFqOIsLGrpzzVQlvQNHrhB8ii7zmokdBTWRpUbMZncS/0oC71w/NV/kIt1nhYVUxypUi+1ww9aXEiiT8oWZWFJ6PSoT0Uxa5dDFvTzZD7YaWUXVuuTiMNiJrS64rXnzlWhkLkkTUS7wR5ahTnArCvrBWa+yh525ZsCJayLj1ngdesI+x0VY24CExG6YXlZry6YNGuyA== 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=prHK7F5ToHtjCKK3sZFbHf+/MhLZqRuHmSn5VTerzqo=; b=OK9hJkUwOW8NMdXvqazMPzDdcy+ESIyGOxE+E0wKh8QtMprL16F1gWwO9fadX6lT3k/F3NySNBS4SdTOz63T2wU5SO6J8+CyKqvnTeU81AF7sxZBNmpy9Z49lbr809eWsc777O22/KGURxjeM0+65CCcR6DWyDHkH1k9ljwPVFVFP8ldR4LEv3LUsrq01S8ya+v56B3kkraJmEiaarsazX8TC6zh7NhP+uXTpWAwvA17JeVjjtUZVzbCUvqr7B6KWbAlrRh/BiH3pCls8C8J7izP4bfglDmuD7uDiHcPf7cJQ3yVmiLbih1wXiCx8JIBTd+5VGUVmNSRvx1Zjd1gZw== 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=prHK7F5ToHtjCKK3sZFbHf+/MhLZqRuHmSn5VTerzqo=; b=NFG4IXASTt4xbzhXL7Ok7lqKVlfkALPLcORSqKGsoMWBiRC9ugdGRG+vJsOy+18Tsj8kFc8wCvcBQeZswM+f/dEZxoTsuV0/zk1zuGcbogU7GgOyftCL1yywLBlZyJMaFW90Bf2LXv+E0ORXUMedOfisbqaQ3snuHQYtAPzQgcY= Received: from AM7PR02CA0002.eurprd02.prod.outlook.com (2603:10a6:20b:100::12) by GV1PR08MB7706.eurprd08.prod.outlook.com (2603:10a6:150:51::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.23; Wed, 13 Apr 2022 10:18:49 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::2a) by AM7PR02CA0002.outlook.office365.com (2603:10a6:20b:100::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20 via Frontend Transport; Wed, 13 Apr 2022 10:18:48 +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; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT061.mail.protection.outlook.com (10.152.16.247) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5164.19 via Frontend Transport; Wed, 13 Apr 2022 10:18:48 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.27; Wed, 13 Apr 2022 10:18:44 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.27; Wed, 13 Apr 2022 10:18:35 +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.2308.27 via Frontend Transport; Wed, 13 Apr 2022 10:18:43 +0000 From: Joey Gouly <joey.gouly@arm.com> To: <linux-arm-kernel@lists.infradead.org> CC: <nd@arm.com>, <catalin.marinas@arm.com>, <joey.gouly@arm.com>, <keescook@chromium.org>, <masahiroy@kernel.org>, <vincenzo.frascino@arm.com>, <will@kernel.org> Subject: [PATCH v3 1/4] arm64: vdso: put ELF related sections in the linker script Date: Wed, 13 Apr 2022 11:18:29 +0100 Message-ID: <20220413101832.4594-2-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220413101832.4594-1-joey.gouly@arm.com> References: <20220413101832.4594-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 4a4461e6-e002-417d-cd69-08da1d3705d1 X-MS-TrafficTypeDiagnostic: GV1PR08MB7706:EE_|DB5EUR03FT047:EE_|PAXPR08MB6752:EE_ X-Microsoft-Antispam-PRVS: <PAXPR08MB6752DA3719BA727A32DD38C394EC9@PAXPR08MB6752.eurprd08.prod.outlook.com> 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: 7AGN6zQiTs/Zqm40gWDniccbWhZCI2YgBAZ4miNMQP13/DELQotFXOm9Pp8LImlyer+P/of+fXbgi8cC4FsLp+r60fdvqxKMaeqv6CQk6CxFL827KA8Eqhyb+TWkPS4IAE44bgBZTPk6sXipRzTTUXeAOb1Rg7l1WuSDNvvkshMqnC2uU9L6AASiXHXhj4EB3RWLBSbXmV2WCmxFJhTaLCEeUiKZ1+fJcEkZirazImQr61K9ZGJ97kVQ7J09yVgelf8wy78Iw9gsO7vphJ7VugUeJR7XYxxTz/UVIqXuSI52sNXH5ha//96Hmpahx11X/oaMphbHxGaH/fCFLcsJb0tO3/Mcg33d3B/vkbxEZ/EUqEyzc/0+wiQmIUDpynJA6uN25+kdbMno7bXdGE/5cHOGXgez8yk6PTh2stgVpISvU0xQCVlvwe2DphVW0XT9BP0158qUHVhCsCcSPdbG7bRoppkNwVoVTnfHOdWnGmixKOpBNj4eBGYrboaCUm/Pb3NzCkFkRPc0wYRls2dH49SAmF12WqV/q4JNE5JD1AO0v+Rnc6ZRfiVQ9ygw3QZNLfN3XPnZBpsL3VhUnEIa73jIBXALDwBkJguLOZ2mrcpCGynZL8foPuOhP26Dw8AU7/QsNNsMSQsV2P+9bt3qdK8pd0GtYvXwM7qEL/ldd9Q+994psHA3nnodpMMPWYJfWrFtUw8mNdELMOerUaKHjQ== 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:(13230001)(4636009)(40470700004)(36840700001)(46966006)(70586007)(186003)(81166007)(336012)(36860700001)(426003)(2906002)(8676002)(82310400005)(36756003)(86362001)(1076003)(26005)(356005)(4326008)(2616005)(8936002)(47076005)(7696005)(54906003)(6916009)(44832011)(498600001)(40460700003)(6666004)(5660300002)(70206006)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7706 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c3069d1c-8032-4e01-6288-08da1d370023 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wDhqzODQXvwu6x5fjmIzXVIxZFLpYtxt6IkblO7iWkw87Ux5uWvkdWLyvn7QPupGSyFO3R4b/Y5FVhyeVzr+eaIvnKSQqIokV7PRhZLEomH/8KOQbodpU8PImRYDGVL8oeyJB9rfwPDenNzgmZpwif2w1765TlQ22vkeK/wKJS4beKUs1CE7FGUJcqxntjIC/Z4ChymND3doa/kYZuXbcAYAZVyiy9VPo+4N8tAEXqKerf8ek9yDQXh+spoPr+h3WuWTlrUG97a+XgWnprEvkXQgV+X3ASkPoeVggvI/kMUTywOBrana8iBlAnuy9fTb4wNmzWkps8c8wVz3VMucb3OJ1uIyOvAvZ4uSx+fJeXeE68JpxsRpC+Yql3cgaB7LzAdRkalJywkXFNShiDX9ODaWDVIu2YKJpA0KiEjl8/TC/KhtC6Ucnugu/ePjzlASLD2LQ5qunSeT+XkcQQBFaW3paB2CpUR9zZRtrTo5KhLeH8Ma87ZSby5O3bpZh/nVNAn719hV+hqbtM1jYMdiGuqR4k5rLlapm6BBnYoPACM4eik96vh3HXJ3xJc9wWU5z/HTBC4okiJHnbtl1d0Ud1ZrT1dML7Cg5oNAt+3yOAnpmFKPi+6S0wrNwtiFogoVkYKnzwx45TbQqbqwy05a8ZO3/hOuosPBwFOMsuX3gMV0Cem4PGxhhTSk/3sgjSOJ 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:(13230001)(4636009)(46966006)(36840700001)(40470700004)(8936002)(5660300002)(70206006)(2616005)(426003)(107886003)(336012)(1076003)(44832011)(4326008)(81166007)(8676002)(70586007)(7696005)(82310400005)(186003)(36756003)(47076005)(40460700003)(6666004)(2906002)(508600001)(26005)(86362001)(6916009)(54906003)(316002)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2022 10:18:58.4232 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a4461e6-e002-417d-cd69-08da1d3705d1 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: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6752 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_031905_852635_3966D2E2 X-CRM114-Status: UNSURE ( 9.81 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Enable orphan-handling=warn for VDSO
|
expand
|
diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S index a5e61e09ea92..8a8780c6d093 100644 --- a/arch/arm64/kernel/vdso/vdso.lds.S +++ b/arch/arm64/kernel/vdso/vdso.lds.S @@ -11,6 +11,7 @@ #include <linux/const.h> #include <asm/page.h> #include <asm/vdso.h> +#include <asm-generic/vmlinux.lds.h> OUTPUT_FORMAT("elf64-littleaarch64", "elf64-bigaarch64", "elf64-littleaarch64") OUTPUT_ARCH(aarch64) @@ -54,6 +55,9 @@ SECTIONS _end = .; PROVIDE(end = .); + DWARF_DEBUG + ELF_DETAILS + /DISCARD/ : { *(.data .data.* .gnu.linkonce.d.* .sdata*) *(.bss .sbss .dynbss .dynsbss)
Use macros from vmlinux.lds.h to explicitly name sections that are included in the VDSO output. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Cc: Kees Cook <keescook@chromium.org> --- arch/arm64/kernel/vdso/vdso.lds.S | 4 ++++ 1 file changed, 4 insertions(+)