diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-07 04:55:31 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-07 04:55:31 +0000 |
commit | 37e2c9c313e889c1873011c8ca144e4821417e4e (patch) | |
tree | 72f352d68e0aa7e44fa1881d461020418fe93d58 /firmware/target/arm | |
parent | 8c38983b22195d5ae98008154e4f44b7c43dac95 (diff) |
DM320: Fix app.lds to reduce binary image size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/tms320dm320/app.lds | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds index ab871bb9c5..1e0d1839c0 100644 --- a/firmware/target/arm/tms320dm320/app.lds +++ b/firmware/target/arm/tms320dm320/app.lds @@ -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) : { |