Commit 6fec1c7e authored by Lukas Auer's avatar Lukas Auer Committed by Anup Patel
Browse files

firmware: add missing linker sections to fw_base.ldS



The linker sections .sdata and .sbss are missing from the linker script
fw_base.ldS. Add them to the .data and .bss sections.

On current builds, most variables are in the .sbss section. They are not
correctly initialized to zero, because they are not within the
boundaries indicated by _bss_start and _bss_end. Currently, this does
not cause any issues, however with relocation support lock-ups may occur
due to incorrectly initialized lock variables.

Signed-off-by: default avatarLukas Auer <lukas.auer@aisec.fraunhofer.de>
Acked-by: default avatarAnup Patel <anup.patel@wdc.com>
parent f19611e1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment