Move AVR .promemx.* sections into higher memory.

PR ld/21849
	* scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate
	former at a higher address.
This commit is contained in:
Georg-Johann Lay 2017-07-27 14:17:14 +01:00 committed by Nick Clifton
parent 8bdf0be19d
commit f726cc1cb6
2 changed files with 9 additions and 1 deletions

View 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-25 Alan Modra <amodra@gmail.com>
* testsuite/ld-powerpc/tlsopt5.s: Add cfi.

View 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