mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-12-01 04:49:22 +00:00
Fix issue with linker script allowing data section to overflow flash
This commit is contained in:
parent
7a77d583da
commit
7c368aa816
@ -123,7 +123,7 @@ SECTIONS
|
||||
|
||||
__etext = .;
|
||||
|
||||
.data : AT (__etext)
|
||||
.data : ALIGN(4)
|
||||
{
|
||||
__data_start__ = .;
|
||||
*(vtable)
|
||||
@ -155,7 +155,7 @@ SECTIONS
|
||||
/* All data end */
|
||||
__data_end__ = .;
|
||||
|
||||
} > RAM
|
||||
} > RAM AT > FLASH
|
||||
|
||||
.bss :
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ SECTIONS
|
||||
|
||||
__etext = .;
|
||||
|
||||
.data : AT (__etext)
|
||||
.data : ALIGN(4)
|
||||
{
|
||||
__data_start__ = .;
|
||||
*(vtable)
|
||||
@ -155,7 +155,7 @@ SECTIONS
|
||||
/* All data end */
|
||||
__data_end__ = .;
|
||||
|
||||
} > RAM
|
||||
} > RAM AT > FLASH
|
||||
|
||||
.bss :
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user