forked from len0rd/rockbox
DM320: Fix app.lds to reduce binary image size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29240 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c38983b22
commit
37e2c9c313
1 changed files with 14 additions and 14 deletions
|
|
@ -110,15 +110,6 @@ SECTIONS
|
|||
*(.data*)
|
||||
} > DRAM
|
||||
|
||||
.bss (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(0x4);
|
||||
_bss_start = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
_bss_end = .;
|
||||
} > DRAM
|
||||
|
||||
.iram :
|
||||
{
|
||||
. = ALIGN(0x4);
|
||||
|
|
@ -131,13 +122,22 @@ SECTIONS
|
|||
|
||||
_iramcopy = LOADADDR(.iram);
|
||||
|
||||
.ibss DTCMORIG + _iramend (NOLOAD) :
|
||||
.bss (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(0x4);
|
||||
_bss_start = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
_bss_end = .;
|
||||
} > DRAM
|
||||
|
||||
.ibss (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(0x4);
|
||||
_ibss_start = .;
|
||||
*(.ibss)
|
||||
_ibss_end = .;
|
||||
} > DTCM
|
||||
} > ITCM
|
||||
|
||||
/* Program stack space */
|
||||
.pro_stack (NOLOAD):
|
||||
|
|
@ -149,7 +149,7 @@ SECTIONS
|
|||
. += PRO_STACK_SIZE;
|
||||
_pro_stack_start = .;
|
||||
stackend = .; /* Variable for tread.c */
|
||||
} > DTCM
|
||||
} > ITCM
|
||||
|
||||
/* IRQ stack space */
|
||||
.irq_stack (NOLOAD):
|
||||
|
|
@ -158,7 +158,7 @@ SECTIONS
|
|||
_irq_stack_end = .;
|
||||
. += IRQ_STACK_SIZE;
|
||||
_irq_stack_start = .;
|
||||
} > DTCM
|
||||
} > ITCM
|
||||
|
||||
/* FIQ stack space */
|
||||
.fiq_stack (NOLOAD):
|
||||
|
|
@ -167,7 +167,7 @@ SECTIONS
|
|||
_fiq_stack_end = .;
|
||||
. += FIQ_STACK_SIZE;
|
||||
_fiq_stack_start = .;
|
||||
} > DTCM
|
||||
} > ITCM
|
||||
|
||||
.audiobuf (NOLOAD) :
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue