Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/llext_link_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ def main():
# critical functions in a .cold ELF section, read-only data in a
# .coldrodata ELF section, etc. When compiling and linking such
# functions, an additional .cold.literal section is automatically
# created. Note, that for some reason the compiler also marks .cold as
# executable.
# created.
# This script links those sections at address 0. We could hard-code
# section names, but so far we choose to only link .text the "original"
# way and all other executable sections we link at 0. For data sections
Expand All @@ -168,6 +167,8 @@ def main():

dram_addr += section.header['sh_size']

dram_addr = align_up(dram_addr, 0x1000)

for section in readonly_dram:
s_alignment = section.header['sh_addralign']
s_name = section.name
Expand Down
Loading