]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Move AVR .progmemx.* sections to higher memory.
authorGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 27 Jul 2017 13:20:50 +0000 (14:20 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 27 Jul 2017 13:20:50 +0000 (14:20 +0100)
PR ld/21849
* scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate
former at a higher address.

ld/ChangeLog
ld/scripttempl/avr.sc

index 1ce22981cb4f84f6f38cbff94132fdeafffa376b..17029680519849dc8f45479668b6194ef56905f7 100644 (file)
@@ -1,3 +1,9 @@
+2017-07-27  Georg-Johann Lay  <gjl@gcc.gnu.org>
+
+       PR ld/21849
+       * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate
+       former at a higher address.
+
 2017-07-24  Tristan Gingold  <gingold@adacore.com>
 
        * configure: Regenerate.
index 07553b4b061f481054059b93fc630547f5aa1f10..7a146b7777e2d20d85880051f29a8175c5f3f79f 100644 (file)
@@ -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