From nobody Sun Feb 8 08:48:48 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B083B1F5822; Tue, 22 Apr 2025 09:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745313760; cv=none; b=nd0yReqaH4ZoKaNg7uoI4/992Pix/q9yDRE8zqzB53RDpv/+Yi2I6O92WD6tXXNr8D6SgedjjiVFnZXUDGL/rcn2wSA7qwUePInJAejQQ1xuWNpjJlnYGZSRuD2le7GEOLfQnVnl2nj5n4owB+ULbZQFa70B91SK4/Ovv+HNSu4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745313760; c=relaxed/simple; bh=uW2rX87F4MRadvrQodcM8YX0KgIV+maUNUJ7Hdg+7Xg=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=LdZbbq+hZUGQFUymYagbbYlupn62CDrvx451kZGHAJSxNkBRgFWFd2DB2W3KBw0dok1fjdCX7rVvghGLe+Wcf1od1mDPX4LW0RrixRaSRySraPWkzTxRicvNra1NB2o1OmGpf8tBTn6vmoP7ktlLUesAVXFUc2oyfg0P1fJZFWI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZTWSrA4I; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ogruQj9w; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZTWSrA4I"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ogruQj9w" Date: Tue, 22 Apr 2025 09:22:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1745313756; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ziWuLAUL75FCKV2/CKbDP2MEFRLaoKzjuTJj35up17g=; b=ZTWSrA4I/5HLqNf0J2SkdQZ8itips3u5ohgQ/2FneoswpLoepV+NpWXhlI2+9kfqXsiATq mqnvgQvqfIiR5en93ox89RBxoSZ+xvn/UxaCQZz8H90T+A9PHmJxv0AgP+LNIcy+xf3Ckd 0O+R5UGvXDIWbv5IQ2sPhMbS47quirIHtv52e06re7mwwI8OYvb9EcLWh0SmhD9GqnlApl un8t6YoK5mI+Hiui+gYE+iIbOcVVyqioeW6S78H/VmSvIlWcw3fRwMB8tjWJij/3mowOcZ 72gWOq8uSM/ZokwdIHuUtiJHVb83e+OtfgypJbFqQBSHuhekeC7olAyGqzfa8A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1745313756; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ziWuLAUL75FCKV2/CKbDP2MEFRLaoKzjuTJj35up17g=; b=ogruQj9w2r2vVRuGw3G1paUNlHfBPts8tjZ6a+AQofuF5hUpINz0+0oZtSsuL/Mr9wX6yT GcsfQppBlh4oJBCg== From: "tip-bot2 for Ard Biesheuvel" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/boot] vmlinux.lds: Include .data.rel[.local] into .data section Cc: Ard Biesheuvel , Ingo Molnar , Brian Gerst , David Woodhouse , Dionna Amalie Glaze , "H. Peter Anvin" , Juergen Gross , Kees Cook , Kevin Loughlin , Len Brown , Linus Torvalds , "Rafael J. Wysocki" , Tom Lendacky , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250418141253.2601348-9-ardb+git@google.com> References: <20250418141253.2601348-9-ardb+git@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174531375596.31282.17622952407933210254.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/boot branch of tip: Commit-ID: 092071e0f63c2d2c54810a427d4d9a0df6aad52b Gitweb: https://git.kernel.org/tip/092071e0f63c2d2c54810a427d4d9a0df= 6aad52b Author: Ard Biesheuvel AuthorDate: Fri, 18 Apr 2025 16:12:55 +02:00 Committer: Ingo Molnar CommitterDate: Tue, 22 Apr 2025 09:12:00 +02:00 vmlinux.lds: Include .data.rel[.local] into .data section When running in -fPIC mode, the compiler may decide to emit statically initialized data objects into .data.rel or .data.rel.local if they contain absolute references to global or local objects, respectively, which require fixing up at load time. This distinction is irrelevant for the kernel, so fold .data.rel and .data.rel.local into .data. Signed-off-by: Ard Biesheuvel Signed-off-by: Ingo Molnar Cc: Brian Gerst Cc: David Woodhouse Cc: Dionna Amalie Glaze Cc: H. Peter Anvin Cc: Juergen Gross Cc: Kees Cook Cc: Kevin Loughlin Cc: Len Brown Cc: Linus Torvalds Cc: Rafael J. Wysocki Cc: Tom Lendacky Link: https://lore.kernel.org/r/20250418141253.2601348-9-ardb+git@google.com --- include/asm-generic/vmlinux.lds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinu= x.lds.h index 58a635a..66409bc 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -108,13 +108,13 @@ defined(CONFIG_AUTOFDO_CLANG) || defined(CONFIG_PROPE= LLER_CLANG) #define TEXT_MAIN .text #endif #if defined(CONFIG_LD_DEAD_CODE_DATA_ELIMINATION) || defined(CONFIG_LTO_CL= ANG) -#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundliter= al* .data.$__unnamed_* .data.$L* +#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data.rel.* .data..L* .data..c= ompoundliteral* .data.$__unnamed_* .data.$L* #define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]* #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* .rodata..L* #define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* .bss..L* .bss..compoundliteral* #define SBSS_MAIN .sbss .sbss.[0-9a-zA-Z_]* #else -#define DATA_MAIN .data +#define DATA_MAIN .data .data.rel .data.rel.local #define SDATA_MAIN .sdata #define RODATA_MAIN .rodata #define BSS_MAIN .bss