bootloader: Remove unnecessary KEEP on data/bss sections, save static RAM
This commit is contained in:
parent
d1b66a08c1
commit
871ba41a09
1 changed files with 12 additions and 12 deletions
|
@ -47,7 +47,7 @@ SECTIONS
|
||||||
*(.sbss2.*)
|
*(.sbss2.*)
|
||||||
*(.gnu.linkonce.sb2.*)
|
*(.gnu.linkonce.sb2.*)
|
||||||
*(.dynbss)
|
*(.dynbss)
|
||||||
KEEP(*(.bss))
|
*(.bss)
|
||||||
*(.bss.*)
|
*(.bss.*)
|
||||||
*(.gnu.linkonce.b.*)
|
*(.gnu.linkonce.b.*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
|
@ -58,17 +58,17 @@ SECTIONS
|
||||||
.dram0.data :
|
.dram0.data :
|
||||||
{
|
{
|
||||||
_data_start = ABSOLUTE(.);
|
_data_start = ABSOLUTE(.);
|
||||||
KEEP(*(.data))
|
*(.data)
|
||||||
KEEP(*(.data.*))
|
*(.data.*)
|
||||||
KEEP(*(.gnu.linkonce.d.*))
|
*(.gnu.linkonce.d.*)
|
||||||
KEEP(*(.data1))
|
*(.data1)
|
||||||
KEEP(*(.sdata))
|
*(.sdata)
|
||||||
KEEP(*(.sdata.*))
|
*(.sdata.*)
|
||||||
KEEP(*(.gnu.linkonce.s.*))
|
*(.gnu.linkonce.s.*)
|
||||||
KEEP(*(.sdata2))
|
*(.sdata2)
|
||||||
KEEP(*(.sdata2.*))
|
*(.sdata2.*)
|
||||||
KEEP(*(.gnu.linkonce.s2.*))
|
*(.gnu.linkonce.s2.*)
|
||||||
KEEP(*(.jcr))
|
*(.jcr)
|
||||||
_data_end = ABSOLUTE(.);
|
_data_end = ABSOLUTE(.);
|
||||||
} >dram_seg
|
} >dram_seg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue