Skip to content

Commit

Permalink
elfloader/linker/arm: Remove unncessary sections and directives
Browse files Browse the repository at this point in the history
When building with LLVM/lld, they trigger a linking error as
.hash and .interp don't exist.

Closes seL4#172

Sponsored by: DARPA.

Signed-off-by: Hesham Almatary <[email protected]>
  • Loading branch information
heshamelmatary committed Jul 27, 2023
1 parent 96b277e commit 2f16c0a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions elfloader-tool/src/arch-arm/linker.lds
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@

#include "image_start_addr.h"

SECTIONS
{
.interp : { *(.interp) }
}
INSERT BEFORE .hash;

SECTIONS
{
. = IMAGE_START_ADDR;
Expand All @@ -24,7 +18,6 @@ SECTIONS
*(.text.start)
}
}
INSERT BEFORE .text;

SECTIONS
{
Expand All @@ -48,4 +41,3 @@ SECTIONS
_archive_end = .;
}
}
INSERT AFTER .eh_frame;

0 comments on commit 2f16c0a

Please sign in to comment.