-# Copyright (C) 2014-2017 Free Software Foundation, Inc.
-#
+# Copyright (C) 2014-2018 Free Software Foundation, Inc.
+#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
# __RODATA_PM_OFFSET__ (which defaults to RODATA_PM_OFFSET).
cat <<EOF
-/* Copyright (C) 2014-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2018 Free Software Foundation, Inc.
Copying and distribution of this script, with or without modification,
are permitted in any medium without royalty provided the copyright
${RELOCATING+ *libprintf_flt.a:*(.progmem.data)}
${RELOCATING+ *libc.a:*(.progmem.data)}
- ${RELOCATING+ *(.progmem*)}
-
- ${RELOCATING+. = ALIGN(2);}
+ ${RELOCATING+ *(.progmem.*)}
- /* For future tablejump instruction arrays for 3 byte pc devices.
- We don't relax jump/call instructions within these sections. */
- *(.jumptables)
- ${RELOCATING+ *(.jumptables*)}
+ ${RELOCATING+. = ALIGN(2);}
/* For code that needs to reside in the lower 128k progmem. */
*(.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+ *(.progmemx.*)}
+
+ ${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
.stab.exclstr 0 : { *(.stab.exclstr) }
.stab.index 0 : { *(.stab.index) }
.stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
+ .comment 0 : { *(.comment) }
.note.gnu.build-id : { *(.note.gnu.build-id) }
EOF