Skip to content

Commit

Permalink
elfloader/linker/arm: Add _end symbol to the linker script
Browse files Browse the repository at this point in the history
lld does not have a default linker script and doesn't insert
_end, so manually add it here. _end is referenced in the source
code and an error will be triggered if it doesn't exist.

Sponsored by: DARPA.

Signed-off-by: Hesham Almatary <[email protected]>
  • Loading branch information
heshamelmatary committed Jul 27, 2023
1 parent 2f16c0a commit 8822bac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elfloader-tool/src/arch-arm/linker.lds
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ SECTIONS
_archive_start = .;
*(._archive_cpio)
_archive_end = .;
_end = .;
}
}

0 comments on commit 8822bac

Please sign in to comment.