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 <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77897
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld
index a1a782f..14fdba6 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)