X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fscripttempl%2Felf32avr.sc;h=36e99dafe3173cd36931465e53d9adafb6a71c75;hb=2f0b56c07dc063037f82a003c2146af0afe9b378;hp=51b6512bf7f6efd07159313ce128faf954d9a055;hpb=adde6300e0ceb74fbe8df6721fd948063c2080cd;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/scripttempl/elf32avr.sc b/ld/scripttempl/elf32avr.sc index 51b6512bf7..36e99dafe3 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