Skip to content

Commit 7be56a7

Browse files
committed
Updated x86 linker scripts with missing variable
1 parent bec5dc2 commit 7be56a7

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

hal/x86_fsp_qemu.ld.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ SECTIONS
2525
_end_wolfboot = .;
2626
} > RAM
2727

28+
_stored_data = _end_text;
29+
2830
_fsp_size = _end_fsp_s - _start_fsp_s;
2931
.bss WOLFBOOT_LOAD_BASE + SIZEOF(.text) (NOLOAD):
3032
{

hal/x86_fsp_qemu_stage1.ld.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ SECTIONS
5656

5757
.bootloader WOLFBOOT_ORIGIN :
5858
{
59+
_start_text = .;
5960
KEEP(*(.boot*))
6061
*(.text*)
6162
*(.rodata*)

hal/x86_fsp_tgl.ld.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ SECTIONS
2525
_end_wolfboot = .;
2626
}
2727

28+
_stored_data = _end_text;
2829
_fsp_size = _end_fsp_s - _start_fsp_s;
2930
.bss WOLFBOOT_LOAD_BASE + SIZEOF(.text) (NOLOAD):
3031
{

hal/x86_fsp_tgl_stage1.ld.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ SECTIONS
5353

5454
.bootloader WOLFBOOT_ORIGIN :
5555
{
56+
_start_text = .;
5657
KEEP(./tgl_fsp.o(.boot))
5758
KEEP(*(.boot*))
5859
KEYSTORE_START = .;

0 commit comments

Comments
 (0)