* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
This commit is contained in:
parent
747e13a0ce
commit
208d5cd0ad
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
|
||||||
|
|
||||||
|
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
|
||||||
|
|
||||||
2000-11-09 Philip Blundell <pb@futuretv.com>
|
2000-11-09 Philip Blundell <pb@futuretv.com>
|
||||||
|
|
||||||
* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
|
* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
|
||||||
|
|
|
@ -6,7 +6,7 @@ MEMORY
|
||||||
{
|
{
|
||||||
text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
|
text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
|
||||||
data (rw!x) : ORIGIN = 0x800060, LENGTH = $DATA_LENGTH
|
data (rw!x) : ORIGIN = 0x800060, LENGTH = $DATA_LENGTH
|
||||||
eeprom (rw!x) : ORIGIN = 0, LENGTH = $EEPROM_LENGTH
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = $EEPROM_LENGTH
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -96,7 +96,6 @@ SECTIONS
|
||||||
} ${RELOCATING+ > data}
|
} ${RELOCATING+ > data}
|
||||||
|
|
||||||
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
|
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
|
||||||
${RELOCATING+AT (ADDR (.text) + SIZEOF (.text) + SIZEOF (.data))}
|
|
||||||
{
|
{
|
||||||
${RELOCATING+ PROVIDE (__bss_start = .) ; }
|
${RELOCATING+ PROVIDE (__bss_start = .) ; }
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -106,6 +105,7 @@ SECTIONS
|
||||||
} ${RELOCATING+ > data}
|
} ${RELOCATING+ > data}
|
||||||
|
|
||||||
.eeprom ${RELOCATING-0}:
|
.eeprom ${RELOCATING-0}:
|
||||||
|
${RELOCATING+AT (ADDR (.text) + SIZEOF (.text) + SIZEOF (.data))}
|
||||||
{
|
{
|
||||||
*(.eeprom*)
|
*(.eeprom*)
|
||||||
${RELOCATING+ __eeprom_end = . ; }
|
${RELOCATING+ __eeprom_end = . ; }
|
||||||
|
|
Loading…
Reference in New Issue