From: Georg-Johann Lay Date: Thu, 27 Jul 2017 13:17:14 +0000 (+0100) Subject: Move AVR .promemx.* sections into higher memory. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f726cc1cb69ab0e0303209d08effb10b99007080;p=binutils-gdb.git Move AVR .promemx.* sections into higher memory. PR ld/21849 * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate former at a higher address. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c44bc33d6dd..fad1b7c165c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2017-07-27 Georg-Johann Lay + + PR ld/21849 + * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate + former at a higher address. + 2017-07-25 Alan Modra * testsuite/ld-powerpc/tlsopt5.s: Add cfi. diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc index 07553b4b061..7a146b7777e 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