mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-09-29 00:55:32 +00:00
Fix issue with linker script allowing data section to overflow flash
This commit is contained in:
parent
135ce94395
commit
b61d56ed7b
@ -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