Skip to content

Commit 7bd1953

Browse files
serhiy-katsyuba-intellgirdwood
authored andcommitted
lmdk: Fix linker script
Specifying 0 address for .module section results in few GB binary file. Instead, put .module section near .text or .rodata. Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
1 parent de05d6d commit 7bd1953

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lmdk/cmake/ldscripts/data_linker_script.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SECTIONS {
2525
} >HPSRAM_seg : rodata_phdr
2626

2727
/* Module manifest is here */
28-
.module 0 : {
28+
.module : {
2929
KEEP(*(.module))
30-
}
30+
} >HPSRAM_seg : rodata_phdr
3131
}

0 commit comments

Comments
 (0)