From 74db0acbe5de8c82cc3ae050d6bd119f33dce4cf Mon Sep 17 00:00:00 2001 From: Xiang W Date: Wed, 14 Jul 2021 15:14:39 +0800 Subject: firmware: use _fw_start for load address The previous code uses _start as the load address, this default .entry is the first segment, using _fw_start does not need to make this assumption. Signed-off-by: Xiang W Reviewed-by: Anup Patel --- firmware/fw_base.ldS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/fw_base.ldS') diff --git a/firmware/fw_base.ldS b/firmware/fw_base.ldS index 0d222da..220c043 100644 --- a/firmware/fw_base.ldS +++ b/firmware/fw_base.ldS @@ -8,7 +8,7 @@ */ . = FW_TEXT_START; - + /* Don't add any section between FW_TEXT_START and _fw_start */ PROVIDE(_fw_start = .); . = ALIGN(0x1000); /* Need this to create proper sections */ -- cgit v1.2.3