mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 03:54:01 +00:00
avr: implement .data section
This doesn't completely work for some reason as the first character of .data is corrupted, but otherwise it works.
This commit is contained in:
@@ -25,10 +25,14 @@ SECTIONS
|
||||
_stack_top = .;
|
||||
} >RAM
|
||||
|
||||
_sidata = LOADADDR(.data);
|
||||
|
||||
.data :
|
||||
{
|
||||
_sdata = .;
|
||||
*(.data)
|
||||
*(.data*)
|
||||
_edata = .;
|
||||
} >RAM AT>FLASH_TEXT
|
||||
|
||||
.bss :
|
||||
|
||||
Reference in New Issue
Block a user