Skip to content

Commit

Permalink
Linker Script: fix a region issue that causes mdb fail to reset
Browse files Browse the repository at this point in the history
Previously the linker script specify both lregion and vregion for .data
section, which would prevent mdb to reload the region during reset of
hsdk and emsdp (Because these boards use part of ram to store .text).

Signed-off-by: Yuguo Zou <yuguo.zou@synopsys.com>
  • Loading branch information
YuguoWH committed Mar 19, 2021
1 parent bcc3716 commit 748992d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/linker_template_mw.ld
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ SECTIONS {
*(.tls*)
_e_data = .;
}
} > REGION_RAM AT > REGION_ROM
} > REGION_RAM

GROUP (NOLOAD) : {
.bss ALIGN(8): {
Expand Down

0 comments on commit 748992d

Please sign in to comment.