+2017-06-14 Georg-Johann Lay <gjl@gcc.gnu.org>
+
+ PR ld/21583
+ * scripttempl/avr.sc (.jumptables): Move down in text section.
+ (.hightext): New in text.
+
2017-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.tgt (epiphany-*-elf): Accept epiphany-*-*.
${RELOCATING+. = ALIGN(2);}
- /* For future tablejump instruction arrays for 3 byte pc devices.
- We don't relax jump/call instructions within these sections. */
- *(.jumptables)
- ${RELOCATING+ *(.jumptables*)}
-
/* For code that needs to reside in the lower 128k progmem. */
*(.lowtext)
${RELOCATING+ *(.lowtext*)}
KEEP (*(.fini1))
*(.fini0) /* Infinite loop after program termination. */
KEEP (*(.fini0))
+
+ /* For code that needs not to reside in the lower progmem. */
+ *(.hightext)
+ ${RELOCATING+ *(.hightext*)}
+
+ ${RELOCATING+. = ALIGN(2);}
+
+ /* For tablejump instruction arrays. We don't relax
+ JMP / CALL instructions within these sections. */
+ *(.jumptables)
+ ${RELOCATING+ *(.jumptables*)}
+
${RELOCATING+ _etext = . ; }
} ${RELOCATING+ > text}
EOF