[pushed] AVR: Allow to place code directly after the interrupt vector table.
Checks
Commit Message
This patch adds a new input section pattern *(SORT(.vectortext*))
directly after the interrupt vector table.
Applied to the trunk.
Johann
--
PR ld/34686
ld/
* scripttempl/avr.sc (.text): Add *(SORT(.vectortext*))
right after .vectors.
so that no lower 64k .progmem addresses are wasted. */
@@ -191,6 +191,9 @@ test -z "${RELOCATING}" || cat <<EOF
*(.vectors)
KEEP(*(.vectors))
+ /* For code that should immediately follow the interrupt vector
table. */
+ *(SORT(.vectortext*))
+
/* For data that needs to reside in the lower 64k of progmem.
For data accessed with ELPM use .progmemx.* instead