This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/binutils-2_29-branch] Move AVR .progmemx.* sections to higher memory.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e84dfccb213f1258dd29492653713d5b04a2431

commit 0e84dfccb213f1258dd29492653713d5b04a2431
Author: Georg-Johann Lay <gjl@gcc.gnu.org>
Date:   Thu Jul 27 14:20:50 2017 +0100

    Move AVR .progmemx.* sections to higher memory.
    
    	PR ld/21849
    	* scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate
    	former at a higher address.

Diff:
---
 ld/ChangeLog          | 6 ++++++
 ld/scripttempl/avr.sc | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1ce2298..1702968 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]