From patchwork Fri Feb 10 20:38:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Saeger X-Patchwork-Id: 13136394 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAA67C64ED9 for ; Fri, 10 Feb 2023 20:40:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233878AbjBJUkA (ORCPT ); Fri, 10 Feb 2023 15:40:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233394AbjBJUju (ORCPT ); Fri, 10 Feb 2023 15:39:50 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB8556ED2; Fri, 10 Feb 2023 12:39:46 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31AHwuou001750; Fri, 10 Feb 2023 20:38:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=VhfbtTG/NUQ7wu7lNb9jypTCgn4r0UxTOdaBvnltlAo=; b=a9QZ1Ek8o5STVZtd+ZLp46ykPikT8bbDK1ovF+A4PA5cCAVcQBpUBsKjcg+Kpa9+d7gc nym6nlFNMwQ7dmMNdxoEb4lXVbRFnhngGmPu+I56/AbKQcZiSy92Kb3v+bHBPxxGtduS xw3hkelckykdxgzzOoErPiiUFwDHofdiEKBaIwvOUV2UN+sXoLB7PBpPNIR646cKFsdi IFLeg4MO5tAXY5Cep68lJ62QzIbG1G1tNEv2mq4zFYsb7nqmGyeQEvIIWD53z1ygfyNq z8EP2bC3esxVhBvxQ8UY+UHX7H9lNmVO22tArIN151IwVKUVhB3+8S+z+BVNZkjUxxZG KQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nhfdcpa2e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:38:58 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31AJInko013716; Fri, 10 Feb 2023 20:38:57 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3nhdtar8sx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2023 20:38:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=npVMUFpTRP0DtnYQX6YucRZ0smMD9A/oL1FNHXb+YLLoYda2fPZEZnSiKIs+7FypCwwLRjYHiGkUr09m18DwV4hkStPJityh6gzaiV+IZ+dxV8zh/AGR893qYAxgVHVLDxv6z2fVL5zcVQVCnY0e9XZishJTx2F/FJ1NkaaFe76iF1Po8eXdV8IOmrkvgxAKyfCBiCEo5gXRht29xVayInxcPlTRBNn9gKOUsR7pqQ65pJWSVyoktKQowakciwqraOgmrwZpzRtibnqbD/LA8axV410L5sEbD5sY2fRKsibNskoHLSLOmDX1531TeUjLGr9vnX4XRoT/oCIrgjcnqQ== 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=VhfbtTG/NUQ7wu7lNb9jypTCgn4r0UxTOdaBvnltlAo=; b=VGmOdSwMsU9wrOWUBMF/7En1BMTkhHQZFGcqv0R/k2b8uZWqeGovAUImsuMeB9q5x1PeVN4HDZ01SCQvWjLWRFOA3Bzww78ipik0U8MqHkqyYblnlJS4MvmTwVooMypxzdSXt0qSCUNMVQ1p6M1N5GV5/8Q+YzeT6kFThIBo02ABJw0naGR+S/l/HubgCLzUwmhPp30EzFQQUXea9zZi1FTxnwUWhFeaNHzPnWExAMYvR2MOF7gcMmHpk6wRCbf+IrnBXGX0RU1RcyUqrkINO2mGdKYVm6MjqQmo5gHv6h7cTSRN2Glb2/26kPIl66eCgmjMLTBEe7T9dAiO0OzzgQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VhfbtTG/NUQ7wu7lNb9jypTCgn4r0UxTOdaBvnltlAo=; b=a6z41hhLDPAwWV9chevjLJL/Ke23AKEoDzLIwY3nkDV2g5KfNdqTzTqAR4CFEDMsJMAyzn2QeOTvDhpFdSFtF2a0jrW2ahyqeZXhzVtht8DHlIiNMh0IlGdkDG/Qgqu7zMlFXwirz/7DlaAJnnzn5+V1YotDjwU9ZbHWdsneT+Q= Received: from BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) by DS0PR10MB7522.namprd10.prod.outlook.com (2603:10b6:8:15e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.7; Fri, 10 Feb 2023 20:38:53 +0000 Received: from BY5PR10MB3794.namprd10.prod.outlook.com ([fe80::f37e:ad45:7d9e:d84d]) by BY5PR10MB3794.namprd10.prod.outlook.com ([fe80::f37e:ad45:7d9e:d84d%6]) with mapi id 15.20.6111.006; Fri, 10 Feb 2023 20:38:53 +0000 From: Tom Saeger To: Greg Kroah-Hartman Cc: Sasha Levin , Naresh Kamboju , John Paul Adrian Glaubitz , Rich Felker , Masahiro Yamada , Ard Biesheuvel , Nathan Chancellor , Dennis Gilmore , Palmer Dabbelt , Arnd Bergmann , Andrew Morton , Tom Saeger , stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, Michael Ellerman Subject: [PATCH 5.4 v2 4/6] powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds Date: Fri, 10 Feb 2023 13:38:48 -0700 Message-Id: <20230210-tsaeger-upstream-linux-stable-5-4-v2-4-a56d1e0f5e98@oracle.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230210-tsaeger-upstream-linux-stable-5-4-v2-0-a56d1e0f5e98@oracle.com> References: <20230210-tsaeger-upstream-linux-stable-5-4-v2-0-a56d1e0f5e98@oracle.com> X-Mailer: b4 0.12.1 X-ClientProxiedBy: SJ0PR05CA0118.namprd05.prod.outlook.com (2603:10b6:a03:334::33) To BY5PR10MB3794.namprd10.prod.outlook.com (2603:10b6:a03:1b2::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB3794:EE_|DS0PR10MB7522:EE_ X-MS-Office365-Filtering-Correlation-Id: 3680ada8-9084-4584-7ce3-08db0ba6d2f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tWEXd/S5tJaabiZXxQFPbXsiMYV67Ugprs1NcMccfGxVwsYhjBSUOULNSf9o1RkQ9PIZQ2LX+WHs8fBOmxQdNE4w/esMXctxJCK0EN3UEOuqjLCZlqeVGBLTWiUFtg7U/wPpcPV+h3ompfb+5OchvEoZhIWZmIMUmDaN94kGRByqalcjQlGXQf3zY40oS5Pebugp3kdtTPQJjoSZqzTVPM5vAmwZCM/LtFYi/b3yLsbwb+GcaGqfIop9YiiwDQMQl37cGoZtk3A3UmpUbs1ch4ZLVn4Ch04BmO38kZA+OiHAGCVrWNht7t4OCiGkURvZjV72Jtex0ybFyNarY5KO915ZOm2wHIhlE3EcJDFXQ7UhmzImH4zRDDiLZAB641zUE/wJWbBhVVY4X6/Vambh4V0tJxwP4gv3SFC64pOsEwQsvxeS4FAFiJTn1mPGEsgVWsZgcN+Q+XbLdrNYGgJNOd4FtOSud8Jvac+6uXrkUejRcx0aClaDEqB8niDkKq8CYOFwk0Ul9ArsuGqe2lonjfvTS+EXrOsKfPHlklGg4r54a+pK2/l2TeS+NnBAPsgWuO1OsZF3fitQ76RHWeH7dYbnwLD2e+vSHqnJoPVGEMiYLs/VqNkdRqvTBXJHsfVbGbY3MyGxduipqH2Tg6J0oiDjysDIZLZiYwS6Mm/6BzjNmkItVZ0h3xIafBJqX+oIZPTvhKHQKpMmGGxBBLfaR92aL/dGF97myxG7iLgcR80= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB3794.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(376002)(396003)(136003)(366004)(346002)(451199018)(478600001)(6486002)(966005)(316002)(6512007)(186003)(5660300002)(8936002)(54906003)(6506007)(44832011)(2616005)(2906002)(7416002)(83380400001)(38100700002)(6666004)(36756003)(4326008)(8676002)(66946007)(66556008)(6916009)(66476007)(41300700001)(86362001)(142923001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?cy6+lIIGZbQMMNLC3EDZ0QIxQkfQ?= =?utf-8?q?UD2F0Kv0vob9zYmHqnMfuasgWuMxuJkzSvwQazsLcBRqn9P99w16jMNV5vGl2gmHb?= =?utf-8?q?DgNxA0qB8CSXaudwJC9XEGGkx+qtNGQ+89kvyhc5f7vvTU9kM8EZc3dHEEfaiKdH8?= =?utf-8?q?TpyqMIGTN0ugfLqVyyhJJA0/t8LuH+0wbCPzt+4KsSnCihY4cxEVWqc1vOXiFGlU0?= =?utf-8?q?1hh6ofTb0CtX6HXSu1aZQ/Oz3upnsdjBUWcidVsu3aQx0eFsWB61Z/NzGh9Dbc54k?= =?utf-8?q?eOzZiL0MHhUlc+Fck2X5EJKafwiv3NxsatJDMav70LH5M9pmYGWqjoX2qevrVlIj6?= =?utf-8?q?CEEENqEGr4TU4f4P3xLMjJf+GBM/jAQdDJG+oQVH01T61h7N9CHeW+IpQZFKQXkAu?= =?utf-8?q?Eol50EiJKTiZw9+ADtLKPmsGUSx3UDxlM3d4jiDE2B9RTAaoHNKbGrngBC8XiBe8F?= =?utf-8?q?+aMRv+U48qwIoCnSmi/M8WOFvzQvjaXcDMjhDeQIq7EVgnfOqxx4VS+RcpOoUIBWW?= =?utf-8?q?k19h7+QsCZ4bl3sAKfd2HZkiaRmGrcD/Jfux0evwMEqYmMyKHXcZnz2ax6l5+4RnK?= =?utf-8?q?XNEsuRgqjqhga22FrXrZ7trqRi2oYQ2kGeOm2Ncjkvi/K6qSyNQNAkfZxMd/TE1Vg?= =?utf-8?q?/ISwyIdJ42wam+Elnjt/smjHVfIyZez8fevbqZfIkiAyvdR7QYX2GIrur/WbuBZKH?= =?utf-8?q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/pp?= =?utf-8?q?Hrbn51sDju/51rNV0hP11euToJan3wCfVrT2aRrE4a+hg1Dq1dm0OIotfH1Ui0Aa1?= =?utf-8?q?aUYZIOKhKBBDhKTmJAJtuQXqFU26DKizCBBxrc108sczHXMsEbfiG0yFQbtCgFUpZ?= =?utf-8?q?DvxpFGBf1SUS+PfWijk5aJCmE4ZeTBCiXbtf5nVAcD69MHRm9DAR1zpoji3iG+2g+?= =?utf-8?q?kNLHWfbWvu+QxJ4Bs7L/NzPBzYAv3cWgkmP33TNF2ITr+7MGHt8nlpVNG22DhW+qo?= =?utf-8?q?8VUQcKBIOnISGdSDumxczEIxCTPvfRto2QroZ95KcNqP+4n12SZqMr1x86Sam6KzM?= =?utf-8?q?NhOB1/7WZXHr2/+kH7O2IVI9YDnr2+TCNxdyAhl9th1iAjpBDnDap5x29F5tXjs+w?= =?utf-8?q?T0z1DdnA=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3680ada8-9084-4584-7ce3-08db0ba6d2f6 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB3794.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2023 20:38:53.7559 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BAd7Lys7Xvk8DD7JFzWukvsj/UFn79UJAsiTukvs6o21bNrbohZBn44zcf1b4f+wzTYxvVf8i5SvzDqOEZbEKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7522 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-10_15,2023-02-09_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302100176 X-Proofpoint-GUID: H3jRyuyElL_RvEclc1z4Q61ZQXGAYvfI X-Proofpoint-ORIG-GUID: H3jRyuyElL_RvEclc1z4Q61ZQXGAYvfI Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Michael Ellerman commit 07b050f9290ee012a407a0f64151db902a1520f5 upstream. Relocatable kernels must not discard relocations, they need to be processed at runtime. As such they are included for CONFIG_RELOCATABLE builds in the powerpc linker script (line 340). However they are also unconditionally discarded later in the script (line 414). Previously that worked because the earlier inclusion superseded the discard. However commit 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv") introduced an earlier use of DISCARD as part of the RO_DATA macro (line 137). With binutils < 2.36 that causes the DISCARD directives later in the script to be applied earlier, causing .rela* to actually be discarded at link time, leading to build warnings and a kernel that doesn't boot: ld: warning: discarding dynamic section .rela.init.rodata Fix it by conditionally discarding .rela* only when CONFIG_RELOCATABLE is disabled. Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv") Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20230105132349.384666-2-mpe@ellerman.id.au Signed-off-by: Tom Saeger --- arch/powerpc/kernel/vmlinux.lds.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 4d5e1662a0ba..46dfb3701c6e 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -395,9 +395,12 @@ SECTIONS DISCARDS /DISCARD/ : { *(*.EMB.apuinfo) - *(.glink .iplt .plt .rela* .comment) + *(.glink .iplt .plt .comment) *(.gnu.version*) *(.gnu.attributes) *(.eh_frame) +#ifndef CONFIG_RELOCATABLE + *(.rela*) +#endif } }