From 0e56b4c38763f2c8a5a1f130e55aea845b8b9cb5 Mon Sep 17 00:00:00 2001 From: Sebastian Poeplau Date: Wed, 22 Nov 2023 15:43:15 +0100 Subject: [PATCH] Fix the Morello linker script for use with GNAT-LLVM There wasn't a memory region for the .rela.dyn section which GNAT-LLVM emits. Issue: eng/toolchain/gnat-llvm#64 --- aarch64/morello/common.ld | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aarch64/morello/common.ld b/aarch64/morello/common.ld index ada64659..8b353f61 100644 --- a/aarch64/morello/common.ld +++ b/aarch64/morello/common.ld @@ -128,6 +128,12 @@ SECTIONS . = ALIGN(0x1000); + .rela.dyn : + { + *(.rela.dyn) + *(.rela.dyn.*) + } > REGION_DATA + .data.rel.ro : { *(.data.rel.ro)