diff options
Diffstat (limited to 'ld/scripttempl/elf32avr.sc')
-rw-r--r-- | ld/scripttempl/elf32avr.sc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/scripttempl/elf32avr.sc b/ld/scripttempl/elf32avr.sc index 51b6512..36e99da 100644 --- a/ld/scripttempl/elf32avr.sc +++ b/ld/scripttempl/elf32avr.sc @@ -88,6 +88,7 @@ SECTIONS .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))} { + ${RELOCATING+ PROVIDE (__data_start = .) ; } *(.data) *(.gnu.linkonce.d*) ${RELOCATING+. = ALIGN(2);} @@ -144,6 +145,7 @@ SECTIONS .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } + PROVIDE (__stack = ${STACK}) ; } EOF |