diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-20 11:06:01 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-20 11:06:01 +0000 |
commit | bd6a0f15f0623a0451f2fffde3919c956723d477 (patch) | |
tree | 663374363e4659691799b1d781957f84186aa980 /firmware/boot.lds | |
parent | dd5297dd7169e549c560c101ff121b17aae4b0d3 (diff) | |
download | rockbox-bd6a0f15f0623a0451f2fffde3919c956723d477.tar.gz rockbox-bd6a0f15f0623a0451f2fffde3919c956723d477.zip |
Prepare the bootloader command file for --gc-sections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r-- | firmware/boot.lds | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index a8c8947f95..290720011a 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds @@ -85,14 +85,14 @@ SECTIONS .text : { *(.init.text) - *(.text) + *(.text*) } .data : { *(.icode) *(.irodata) *(.idata) - *(.data) + *(.data*) _dataend = . ; } @@ -112,7 +112,7 @@ SECTIONS . = (DRAMORIG+16*1024*1024); .bss : { _edata = .; - *(.bss); + *(.bss*); *(.ibss); _end = .; } @@ -122,13 +122,13 @@ SECTIONS . = DRAMORIG + 0x1000000; .text : { *(.init.text) - *(.text) + *(.text*) } .data : { *(.icode) *(.irodata) *(.idata) - *(.data) + *(.data*) _dataend = . ; } .stack : @@ -142,7 +142,7 @@ SECTIONS } .bss : { _edata = .; - *(.bss); + *(.bss*); *(.ibss); _end = .; } @@ -166,7 +166,7 @@ SECTIONS *(.icode) *(.irodata) *(.idata) - *(.data) + *(.data*) . = ALIGN(0x4); _dataend = .; . = ALIGN(0x10); /* Maintain proper alignment for .text section */ @@ -178,15 +178,13 @@ SECTIONS .text LOADADDR(.data) + SIZEOF(.data) : { *(.init.text) - *(.text) + *(.text*) . = ALIGN(0x4); } > FLASH .rodata : { - *(.rodata) - *(.rodata.str1.1) - *(.rodata.str1.4) + *(.rodata*) . = ALIGN(0x4); _iramcopy = .; } > FLASH @@ -209,7 +207,7 @@ SECTIONS { _edata = .; *(.ibss) - *(.bss) + *(.bss*) *(COMMON) _end = .; #if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) || defined(IAUDIO_X5) |