arch/x86: Remove libhwbase and libgfxinit .data symbols from _bss
With commit b7832de026
("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>
This commit is contained in:
parent
f65ae7490a
commit
4a130ee20b
|
@ -67,19 +67,6 @@
|
||||||
*(.bss.*)
|
*(.bss.*)
|
||||||
*(.sbss)
|
*(.sbss)
|
||||||
*(.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);
|
. = ALIGN(ARCH_POINTER_ALIGN_SIZE);
|
||||||
_ebss = .;
|
_ebss = .;
|
||||||
RECORD_SIZE(bss)
|
RECORD_SIZE(bss)
|
||||||
|
|
Loading…
Reference in New Issue