mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-20 02:22:19 +00:00
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 <wxjstz@126.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
1 parent
989039117f
commit
74db0acbe5
2 files changed
+4
-4
No files matched your search
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user