aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorGeorg-Johann Lay <gjl@gcc.gnu.org>2017-07-27 14:17:14 +0100
committerNick Clifton <nickc@redhat.com>2017-07-27 14:17:14 +0100
commitf726cc1cb69ab0e0303209d08effb10b99007080 (patch)
tree7ca1b82dbcfe65e749647a47af097199f6869854 /ld/scripttempl
parent8bdf0be19d2777565a8b1c88347f65d6a4b8c5fc (diff)
downloadgdb-f726cc1cb69ab0e0303209d08effb10b99007080.zip
gdb-f726cc1cb69ab0e0303209d08effb10b99007080.tar.gz
gdb-f726cc1cb69ab0e0303209d08effb10b99007080.tar.bz2
Move AVR .promemx.* sections into higher memory.
PR ld/21849 * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate former at a higher address.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/avr.sc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc
index 07553b4..7a146b7 100644
--- a/ld/scripttempl/avr.sc
+++ b/ld/scripttempl/avr.sc
@@ -128,7 +128,7 @@ SECTIONS
${RELOCATING+ *libprintf_flt.a:*(.progmem.data)}
${RELOCATING+ *libc.a:*(.progmem.data)}
- ${RELOCATING+ *(.progmem*)}
+ ${RELOCATING+ *(.progmem.*)}
${RELOCATING+. = ALIGN(2);}
@@ -196,6 +196,8 @@ SECTIONS
*(.hightext)
${RELOCATING+ *(.hightext*)}
+ ${RELOCATING+ *(.progmemx.*)}
+
${RELOCATING+. = ALIGN(2);}
/* For tablejump instruction arrays. We don't relax