Skip to content

Commit

Permalink
Fix the Morello linker script for use with GNAT-LLVM
Browse files Browse the repository at this point in the history
There wasn't a memory region for the .rela.dyn section which GNAT-LLVM
emits.

Issue: eng/toolchain/gnat-llvm#64
  • Loading branch information
sebastianpoeplau committed Nov 22, 2023
1 parent a14d174 commit 0e56b4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aarch64/morello/common.ld
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ SECTIONS

. = ALIGN(0x1000);

.rela.dyn :
{
*(.rela.dyn)
*(.rela.dyn.*)
} > REGION_DATA

.data.rel.ro :
{
*(.data.rel.ro)
Expand Down

0 comments on commit 0e56b4c

Please sign in to comment.