* emulparams/avr1200.sh (STACK): Define as 0.
[deliverable/binutils-gdb.git] / ld / scripttempl / elf32avr.sc
index 51b6512bf7f6efd07159313ce128faf954d9a055..36e99dafe3173cd36931465e53d9adafb6a71c75 100644 (file)
@@ -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
 
This page took 0.036904 seconds and 4 git commands to generate.