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 <[email protected]>
  • Loading branch information
serhiy-katsyuba-intel authored and lgirdwood committed Aug 5, 2024
1 parent de05d6d commit 7bd1953
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 7bd1953

Please sign in to comment.