coreboot/src
Arthur Heymans 67166a7eb2 lib/program.ld: Make (NOLOAD) and to_load more explicit
(NOLOAD) indicates that the section occupies no space in the file, but
does take up space in memory during process execution. It's typically
used for bss sections which contain uninitialized global/static
variables.

to_load makes sure the section is part of the program headers. This is
needed for instance with relocatable stages to know how much memory the
program will use.

Although the BFD linker makes some good guesses making this a NOOP,
other linkers like LLD need to mark these sections more explicitly.

Change-Id: Ic14543ba580abe7a34c69bba714eae8cce504977
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80803
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
2024-03-05 21:22:59 +00:00
..
acpi acpi/acpigen_pci_root_resource_producer: zero-pad ranges 2024-03-01 16:24:22 +00:00
arch riscv/mb/qemu: fix DRAM probing 2024-03-04 23:43:46 +00:00
commonlib treewide: Move list.h to commonlib 2024-02-24 11:49:46 +00:00
console arch to cpu: Add SPDX license headers to Kconfig files 2024-02-18 01:58:52 +00:00
cpu cpu/x86/(sipi|smm): Pass on CR3 from ramstage 2024-02-28 12:12:59 +00:00
device device/pnp_device: fix log levels for unassigned resource messages 2024-02-29 21:40:49 +00:00
drivers drivers/vpd: Add vpd_get_feature_level() API 2024-03-05 10:17:00 +00:00
ec ec/google/chromeec: Enclose Kconfig in 'if/endif' block 2024-03-05 14:04:51 +00:00
include soc/amd: move common pci_domain_fill_ssdt implementation to acpi/ 2024-02-29 15:39:06 +00:00
lib lib/program.ld: Make (NOLOAD) and to_load more explicit 2024-03-05 21:22:59 +00:00
mainboard mb/emulation/qemu-riscv: Change to -bios option 2024-03-05 18:57:29 +00:00
northbridge nb/haswell: Disable iGPU when dGPU is used 2024-03-04 15:22:21 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security Kconfig: Make the SEPARATE_ROMSTAGE default configurable in other files 2024-02-27 20:35:11 +00:00
soc soc/intel/xeon_sp: Drop unused helper functions 2024-03-05 11:27:36 +00:00
southbridge util/amdfwtool: build amdfwtool only for all tools or AMD CPUs 2024-02-26 14:50:18 +00:00
superio superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
vendorcode Revert "vc/intel/edk2: Remove edk2-stable202111 support" 2024-03-05 14:06:34 +00:00
Kconfig Kconfig: Make the SEPARATE_ROMSTAGE default configurable in other files 2024-02-27 20:35:11 +00:00