From 4a130ee20b147998a07cdc6613cdc1a5c8f3e7db Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Thu, 14 Sep 2023 10:07:32 -0700 Subject: arch/x86: Remove libhwbase and libgfxinit .data symbols from _bss With commit b7832de0260b042c25bf8f53abcb32e20a29ae9c ("x86: Add .data section support for pre-memory stages"), the libhwbase and libgfxinit .data symbols can be moved to the .data section. Change-Id: I302391e7bc8cb4739e5801d360c57776b0e3eff6 Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/77897 Tested-by: build bot (Jenkins) Reviewed-by: Maximilian Brune Reviewed-by: Julius Werner --- src/arch/x86/car.ld | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld index a1a782ffe0..14fdba6331 100644 --- a/src/arch/x86/car.ld +++ b/src/arch/x86/car.ld @@ -67,19 +67,6 @@ *(.bss.*) *(.sbss) *(.sbss.*) - /* '*_E' GNAT generated global variables actually are un-initialized - * (filled with zeros) variables which are initialized at - * runtime. Therefore, they can be placed in the _bss region. */ -#if CONFIG(ROMSTAGE_LIBHWBASE) - *(.data.hw__*_E) -#endif -#if CONFIG(EARLY_GFX_GMA) - *(.data.gma*_E) - /* libgfxinit uses a boolean variable to track its initialization - * state. Since the initial value is False it can safely be placed in - * the _bss region. */ - *(.data.hw__gfx__gma__initialized) -#endif . = ALIGN(ARCH_POINTER_ALIGN_SIZE); _ebss = .; RECORD_SIZE(bss) -- cgit v1.2.3