From nobody Mon Apr 6 23:08:49 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 119A13EBF2E; Tue, 17 Mar 2026 22:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773787894; cv=none; b=YZLt6PoihB8GBlolRyWNIn2pxPrN2UOkk8IhwvlguML7kk4QuKGFchb+ZqO3QX6yAnRg5P7k0Wlqvu0ZjKvFyt1MIeMljjnaEhXqjJ+LtDhW6RuwmKSFvOAq30YDEHo/ZFk5I6jna/Huir/8OI5n174i/NedTdEP1pvrZZ/AEmw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773787894; c=relaxed/simple; bh=XnVKZDr9XXzDhXGeIbv+VTsNo7kWr53t2t9B4bwhIjM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Gd98A/ertk9IphXNRjeDK2bdl1hDOgRS5xTRapIgl0xKsvt422MG9/OfEXt5QKc57k5i0xcRfsNz3ksLfDAa8c6RAoTXnth+sKRtKmNN96A4yFxGrJcAsmmkiX2gWYGk2Qcv14eNF+pn8x0g9ZuRNjg19zwN779tiYSGQgGFu/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jIXLFcFb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jIXLFcFb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C6F1C19425; Tue, 17 Mar 2026 22:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773787893; bh=XnVKZDr9XXzDhXGeIbv+VTsNo7kWr53t2t9B4bwhIjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jIXLFcFbAMraX2atbcW3r9Z+fs4ZD/daKD8AiV3tBTBKJ1S50NTymLNUxoszu+aLq kqTLzEm7y//QxjgVbCsaQO8IxziAFguXcL2rNdNo/gaTNkDq9sG3hguBy6NADJgEP2 D69XncXOdQ9oMSsDXXkbS38LaQzJGchph9+WgLAGf9GdoGO1EOVRh3ke0CqflRSWnB yapgHfMLJDPcKDFO8lWba2fVQVYqP1DbzSatQ31xhZVCoYHhvSZry6tqy+M/A6pRiY UJaSR73MsQOgP9ueUx8Bvio4GHNWHeUSoWlnBuXxwmEoAjbvS57p9A0c9K0PAkr/RG 0QyVKkZYbsSUw== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Peter Zijlstra , Joe Lawrence , Song Liu , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Mark Rutland , Nathan Chancellor , Nicolas Schier , Herbert Xu Subject: [PATCH v2 03/12] arm64: Fix EFI linking with -fdata-sections Date: Tue, 17 Mar 2026 15:51:03 -0700 Message-ID: X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" When building with func-fdata-sections, the .init.bss section gets split up into a bunch of .init.bss. sections. Make sure they get linked into .init.data. Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- arch/arm64/kernel/vmlinux.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.ld= s.S index 2964aad0362e..f825e6a26918 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -269,7 +269,7 @@ SECTIONS INIT_CALLS CON_INITCALL INIT_RAM_FS - *(.init.altinstructions .init.bss) /* from the EFI stub */ + *(.init.altinstructions .init.bss .init.bss.*) /* from the EFI stub */ } .exit.data : { EXIT_DATA --=20 2.53.0