From ad2b4073d696eef88b9e043bd516eb88b43c40a6 Mon Sep 17 00:00:00 2001 From: Gerald Schnabel Date: Sun, 11 Apr 2021 20:47:32 +0200 Subject: [PATCH] Fix .text section definition for binutils >= 2.36 --- AT91SAM7S256-ROM.ld | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AT91SAM7S256-ROM.ld b/AT91SAM7S256-ROM.ld index 20c8e7c..223ab4a 100644 --- a/AT91SAM7S256-ROM.ld +++ b/AT91SAM7S256-ROM.ld @@ -48,6 +48,13 @@ SECTIONS . = ALIGN(4); + .text.startup : + { + *(.text.startup) + } >FLASH + + . = ALIGN(4); + /* .rodata section which is used for read-only data (constants) */ .rodata :