* emulparams/avr1200.sh (STACK): Define as 0.
authorDenis Chertykov <denisc@overta.ru>
Sat, 27 May 2000 15:36:58 +0000 (15:36 +0000)
committerDenis Chertykov <denisc@overta.ru>
Sat, 27 May 2000 15:36:58 +0000 (15:36 +0000)
* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
* emulparams/avr4433.sh (STACK): Likewise.
* emulparams/avr44x4.sh (STACK): Likewise.
* emulparams/avr85xx.sh (STACK): Likewise.
* emulparams/avrmega103.sh (STACK): Likewise.
* emulparams/avrmega161.sh (STACK): Likewise.
* emulparams/avrmega603.sh (STACK): Likewise.
* scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
(__stack): Define from ${STACK} for main().

ld/ChangeLog
ld/emulparams/avr1200.sh
ld/emulparams/avr23xx.sh
ld/emulparams/avr4433.sh
ld/emulparams/avr44x4.sh
ld/emulparams/avr85xx.sh
ld/emulparams/avrmega103.sh
ld/emulparams/avrmega161.sh
ld/emulparams/avrmega603.sh
ld/scripttempl/elf32avr.sc

index 5315bfd9f4880094e048d054fa9b566f55f27aab..43684b4ee2ea6b0812de0b35f22de507984e920c 100644 (file)
@@ -1,3 +1,16 @@
+2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * emulparams/avr1200.sh (STACK): Define as 0.
+       * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
+       * emulparams/avr4433.sh (STACK): Likewise.
+       * emulparams/avr44x4.sh (STACK): Likewise.
+       * emulparams/avr85xx.sh (STACK): Likewise.
+       * emulparams/avrmega103.sh (STACK): Likewise.
+       * emulparams/avrmega161.sh (STACK): Likewise.
+       * emulparams/avrmega603.sh (STACK): Likewise.
+       * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
+       (__stack): Define from ${STACK} for main().
+
 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
 
        * Makefile.am: Update dependencies with "make dep-am"
index 5f833ade6dc39943d15f20383422da3ae97a5980..24607e5f6fffe4f04e85c40900758f43bf14aa77 100644 (file)
@@ -9,3 +9,4 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=1K
 DATA_LENGTH=0
 EEPROM_LENGTH=64
+STACK=0
index d8e45df9d4c8eaa893e62eb3fa517cf1dda2b66e..e85ef8621a97ea3ce16196166ef9cd5d9e42334e 100644 (file)
@@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=2K
 DATA_LENGTH=128
 EEPROM_LENGTH=128
+STACK=0x0DF
 
index 125a2036fd874b492bbabcd6489570224708e42e..179fe1c67650bc16c41050892ac01060e3bb678e 100644 (file)
@@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=4K
 DATA_LENGTH=128
 EEPROM_LENGTH=256
+STACK=0x0DF
 
index fb36aecb0abac18f1fc60c924b4dfb4616c5dec1..07fc57ec06ec8adcec190b9107887ad84ff10928 100644 (file)
@@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=4K
 DATA_LENGTH=256
 EEPROM_LENGTH=256
+STACK=0x15F
 
index fef39795b2c88f00da74597db47032d104e93511..f3700bd8c36627d174e63c5df19cd25d244a60f9 100644 (file)
@@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=8K
 DATA_LENGTH=512
 EEPROM_LENGTH=512
+STACK=0x25F
 
index e727e8ba561d969b8e14145624ecf4cc30987c50..ca5a61e54b5d528b7a12d86a6766a9ee18fde42a 100644 (file)
@@ -7,6 +7,6 @@ EMBEDDED=yes
 TEMPLATE_NAME=generic
 
 TEXT_LENGTH=128K
-DATA_LENGTH=4K
+DATA_LENGTH=4000
 EEPROM_LENGTH=4K
-
+STACK=0x0FFF
index 6319892b56aa622312fca75eedba71e6fedcffb0..d92cc1885513ad0665590ed213e2415dae46dba4 100644 (file)
@@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
 TEXT_LENGTH=16K
 DATA_LENGTH=1K
 EEPROM_LENGTH=512
+STACK=0x45F
 
index 1b7d14b4bdead03e4f29d368b10f655d9ff3b416..4d60895650c8f098ca56d0d625c642bcc0f09129 100644 (file)
@@ -7,6 +7,6 @@ EMBEDDED=yes
 TEMPLATE_NAME=generic
 
 TEXT_LENGTH=64K
-DATA_LENGTH=4K
+DATA_LENGTH=4000
 EEPROM_LENGTH=2K
-
+STACK=0x0FFF
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