mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
Place progmem data from AVR's libc before other progmem data.
* scripttempl/avr.sc (text): Place .progmem.data from avr-libc above .progmem*. * scripttempl/avrtiny.sc (text): Likewise.
This commit is contained in:

committed by
Nick Clifton

parent
a43942db49
commit
1bdc036f25
@ -1,3 +1,9 @@
|
|||||||
|
016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||||
|
|
||||||
|
* scripttempl/avr.sc (text): Place .progmem.data from avr-libc
|
||||||
|
above .progmem*.
|
||||||
|
* scripttempl/avrtiny.sc (text): Likewise.
|
||||||
|
|
||||||
2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
|
2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
|
||||||
|
|
||||||
* testsuite/ld-unique/unique.exp: Use `is_elf_format' and
|
* testsuite/ld-unique/unique.exp: Use `is_elf_format' and
|
||||||
|
@ -113,6 +113,10 @@ SECTIONS
|
|||||||
${RELOCATING+ *(.trampolines*)}
|
${RELOCATING+ *(.trampolines*)}
|
||||||
${CONSTRUCTING+ __trampolines_end = . ; }
|
${CONSTRUCTING+ __trampolines_end = . ; }
|
||||||
|
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
${RELOCATING+ *libprintf_flt.a:*(.progmem.data)}
|
||||||
|
${RELOCATING+ *libc.a:*(.progmem.data)}
|
||||||
|
|
||||||
${RELOCATING+ *(.progmem*)}
|
${RELOCATING+ *(.progmem*)}
|
||||||
|
|
||||||
${RELOCATING+. = ALIGN(2);}
|
${RELOCATING+. = ALIGN(2);}
|
||||||
|
@ -113,6 +113,10 @@ SECTIONS
|
|||||||
${RELOCATING+ *(.trampolines*)}
|
${RELOCATING+ *(.trampolines*)}
|
||||||
${CONSTRUCTING+ __trampolines_end = . ; }
|
${CONSTRUCTING+ __trampolines_end = . ; }
|
||||||
|
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
${RELOCATING+ *libprintf_flt.a:*(.progmem.data)}
|
||||||
|
${RELOCATING+ *libc.a:*(.progmem.data)}
|
||||||
|
|
||||||
${RELOCATING+ *(.progmem*)}
|
${RELOCATING+ *(.progmem*)}
|
||||||
|
|
||||||
${RELOCATING+. = ALIGN(2);}
|
${RELOCATING+. = ALIGN(2);}
|
||||||
|
Reference in New Issue
Block a user