summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2023-09-14 10:07:32 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-09-18 13:19:32 +0000
commit4a130ee20b147998a07cdc6613cdc1a5c8f3e7db (patch)
treeb0e20c4e25845662d7f67c3572a8284c549f8237 /src/arch
parentf65ae7490a8f8c1ada67902b149ac6591c21b2d1 (diff)
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>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/car.ld13
1 files changed, 0 insertions, 13 deletions
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)