MEMORY
{
- rom : o = 0x00000000, l = 0x00020000
- ram : o = 0x00020000, l = 0x000e0000
+ ro : o = 0x00000000, l = 0x00020000
+ rw : o = 0x00020000, l = 0x000e0000
}
SECTIONS
*(.rodata*)
*(.glue*)
___text_end = . ;
- } > rom
+ } > ro
.tors :
{
. = ALIGN(4);
___dtors = . ;
*(.dtors)
___dtors_end = . ;
- } > rom
+ } > ro
data : AT (ADDR(.tors) + SIZEOF(.tors))
{
___data_rom = ADDR(.tors) + SIZEOF(.tors);
*(.sdata)
*(.eh_frame)
___data_end = . ;
- } > ram
+ } > rw
.bss :
{
___bss = . ;
*(COMMON)
*(.scommon)
___bss_end = . ;
- } > ram
+ } > rw
}