Skip to content

Commit

Permalink
lmdk: Fix linker script
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
serhiy-katsyuba-intel committed Jul 18, 2024
1 parent e54c1ce commit 2ab826c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lmdk/cmake/ldscripts/data_linker_script.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SECTIONS {
} >HPSRAM_seg : rodata_phdr

/* Module manifest is here */
.module 0 : {
.module : {
KEEP(*(.module))
}
} >HPSRAM_seg : rodata_phdr
}

0 comments on commit 2ab826c

Please sign in to comment.