summaryrefslogtreecommitdiff
path: root/src/mainboard/foxconn
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2024-02-29 15:05:15 +0100
committerNico Huber <nico.h@gmx.de>2024-03-05 21:22:59 +0000
commit67166a7eb231dcb3cff5c5b8b407cebcfe6f753f (patch)
tree860fd9e1ab0a4470059b58b9f86032832eb9505d /src/mainboard/foxconn
parentee1cb8f46362576880f4c326ee6c5a51aa9c5af3 (diff)
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>
Diffstat (limited to 'src/mainboard/foxconn')
0 files changed, 0 insertions, 0 deletions