* 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:
parent
ad4d6ccf5c
commit
2f0b56c07d
10 changed files with 25 additions and 4 deletions
13
ld/ChangeLog
13
ld/ChangeLog
|
@ -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>
|
2000-05-26 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* Makefile.am: Update dependencies with "make dep-am"
|
* Makefile.am: Update dependencies with "make dep-am"
|
||||||
|
|
|
@ -9,3 +9,4 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=1K
|
TEXT_LENGTH=1K
|
||||||
DATA_LENGTH=0
|
DATA_LENGTH=0
|
||||||
EEPROM_LENGTH=64
|
EEPROM_LENGTH=64
|
||||||
|
STACK=0
|
||||||
|
|
|
@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=2K
|
TEXT_LENGTH=2K
|
||||||
DATA_LENGTH=128
|
DATA_LENGTH=128
|
||||||
EEPROM_LENGTH=128
|
EEPROM_LENGTH=128
|
||||||
|
STACK=0x0DF
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=4K
|
TEXT_LENGTH=4K
|
||||||
DATA_LENGTH=128
|
DATA_LENGTH=128
|
||||||
EEPROM_LENGTH=256
|
EEPROM_LENGTH=256
|
||||||
|
STACK=0x0DF
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=4K
|
TEXT_LENGTH=4K
|
||||||
DATA_LENGTH=256
|
DATA_LENGTH=256
|
||||||
EEPROM_LENGTH=256
|
EEPROM_LENGTH=256
|
||||||
|
STACK=0x15F
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=8K
|
TEXT_LENGTH=8K
|
||||||
DATA_LENGTH=512
|
DATA_LENGTH=512
|
||||||
EEPROM_LENGTH=512
|
EEPROM_LENGTH=512
|
||||||
|
STACK=0x25F
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,6 @@ EMBEDDED=yes
|
||||||
TEMPLATE_NAME=generic
|
TEMPLATE_NAME=generic
|
||||||
|
|
||||||
TEXT_LENGTH=128K
|
TEXT_LENGTH=128K
|
||||||
DATA_LENGTH=4K
|
DATA_LENGTH=4000
|
||||||
EEPROM_LENGTH=4K
|
EEPROM_LENGTH=4K
|
||||||
|
STACK=0x0FFF
|
||||||
|
|
|
@ -9,4 +9,5 @@ TEMPLATE_NAME=generic
|
||||||
TEXT_LENGTH=16K
|
TEXT_LENGTH=16K
|
||||||
DATA_LENGTH=1K
|
DATA_LENGTH=1K
|
||||||
EEPROM_LENGTH=512
|
EEPROM_LENGTH=512
|
||||||
|
STACK=0x45F
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,6 @@ EMBEDDED=yes
|
||||||
TEMPLATE_NAME=generic
|
TEMPLATE_NAME=generic
|
||||||
|
|
||||||
TEXT_LENGTH=64K
|
TEXT_LENGTH=64K
|
||||||
DATA_LENGTH=4K
|
DATA_LENGTH=4000
|
||||||
EEPROM_LENGTH=2K
|
EEPROM_LENGTH=2K
|
||||||
|
STACK=0x0FFF
|
||||||
|
|
|
@ -88,6 +88,7 @@ SECTIONS
|
||||||
|
|
||||||
.data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
|
.data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
|
||||||
{
|
{
|
||||||
|
${RELOCATING+ PROVIDE (__data_start = .) ; }
|
||||||
*(.data)
|
*(.data)
|
||||||
*(.gnu.linkonce.d*)
|
*(.gnu.linkonce.d*)
|
||||||
${RELOCATING+. = ALIGN(2);}
|
${RELOCATING+. = ALIGN(2);}
|
||||||
|
@ -144,6 +145,7 @@ SECTIONS
|
||||||
.debug_loc 0 : { *(.debug_loc) }
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
.debug_macinfo 0 : { *(.debug_macinfo) }
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
|
||||||
|
PROVIDE (__stack = ${STACK}) ;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue