update linker for lpc18, move bss to ramloc40 to have more space for .data in ramloc32
This commit is contained in:
@@ -296,7 +296,7 @@ SECTIONS
|
|||||||
PROVIDE(__end_bss_RamAHB_ETB16 = .) ;
|
PROVIDE(__end_bss_RamAHB_ETB16 = .) ;
|
||||||
} > RamAHB_ETB16 AT> RamAHB_ETB16
|
} > RamAHB_ETB16 AT> RamAHB_ETB16
|
||||||
|
|
||||||
/* MAIN BSS SECTION */
|
/* MAIN BSS SECTION: EDIT change to RamLoc40 */
|
||||||
.bss : ALIGN(4)
|
.bss : ALIGN(4)
|
||||||
{
|
{
|
||||||
_bss = .;
|
_bss = .;
|
||||||
@@ -309,7 +309,7 @@ SECTIONS
|
|||||||
PROVIDE(__end_bss_RAM = .) ;
|
PROVIDE(__end_bss_RAM = .) ;
|
||||||
PROVIDE(__end_bss_RamLoc32 = .) ;
|
PROVIDE(__end_bss_RamLoc32 = .) ;
|
||||||
PROVIDE(end = .);
|
PROVIDE(end = .);
|
||||||
} > RamLoc32 AT> RamLoc32
|
} > RamLoc40 AT> RamLoc40 /* > RamLoc32 AT> RamLoc32 */
|
||||||
|
|
||||||
/* NOINIT section for RamLoc40 */
|
/* NOINIT section for RamLoc40 */
|
||||||
.noinit_RAM2 (NOLOAD) : ALIGN(4)
|
.noinit_RAM2 (NOLOAD) : ALIGN(4)
|
||||||
|
@@ -247,7 +247,7 @@ SECTIONS
|
|||||||
PROVIDE(__end_bss_RAM5 = .) ;
|
PROVIDE(__end_bss_RAM5 = .) ;
|
||||||
} > RamAHB_ETB16
|
} > RamAHB_ETB16
|
||||||
|
|
||||||
/* MAIN BSS SECTION */
|
/* MAIN BSS SECTION: EDIT change to RamLoc40 */
|
||||||
.bss : ALIGN(4)
|
.bss : ALIGN(4)
|
||||||
{
|
{
|
||||||
_bss = .;
|
_bss = .;
|
||||||
@@ -256,7 +256,7 @@ SECTIONS
|
|||||||
. = ALIGN(4) ;
|
. = ALIGN(4) ;
|
||||||
_ebss = .;
|
_ebss = .;
|
||||||
PROVIDE(end = .);
|
PROVIDE(end = .);
|
||||||
} > RamLoc32
|
} > RamLoc40 /* RamLoc32 */
|
||||||
|
|
||||||
/* NOINIT section for RamLoc40 */
|
/* NOINIT section for RamLoc40 */
|
||||||
.noinit_RAM2 (NOLOAD) : ALIGN(4)
|
.noinit_RAM2 (NOLOAD) : ALIGN(4)
|
||||||
|
Reference in New Issue
Block a user