* 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().
This commit is contained in:
Denis Chertykov 2000-05-27 15:36:58 +00:00
parent ad4d6ccf5c
commit 2f0b56c07d
10 changed files with 25 additions and 4 deletions

View 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"

View file

@ -9,3 +9,4 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=1K
DATA_LENGTH=0
EEPROM_LENGTH=64
STACK=0

View file

@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=2K
DATA_LENGTH=128
EEPROM_LENGTH=128
STACK=0x0DF

View file

@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=4K
DATA_LENGTH=128
EEPROM_LENGTH=256
STACK=0x0DF

View file

@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=4K
DATA_LENGTH=256
EEPROM_LENGTH=256
STACK=0x15F

View file

@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=8K
DATA_LENGTH=512
EEPROM_LENGTH=512
STACK=0x25F

View file

@ -7,6 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=generic
TEXT_LENGTH=128K
DATA_LENGTH=4K
DATA_LENGTH=4000
EEPROM_LENGTH=4K
STACK=0x0FFF

View file

@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
TEXT_LENGTH=16K
DATA_LENGTH=1K
EEPROM_LENGTH=512
STACK=0x45F

View file

@ -7,6 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=generic
TEXT_LENGTH=64K
DATA_LENGTH=4K
DATA_LENGTH=4000
EEPROM_LENGTH=2K
STACK=0x0FFF

View 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