diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-12-17 01:43:32 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-12-17 01:43:32 +0000 |
commit | 28dec004c0782e81661d9803ddf51a19b58dc469 (patch) | |
tree | a2651e48ceac9f3b448f361ef13e610316902ab8 /firmware/target/arm/imx233/app.lds | |
parent | 8f92ab02e16c4d2b613214559651269843da96a8 (diff) | |
download | rockbox-28dec004c0782e81661d9803ddf51a19b58dc469.tar.gz rockbox-28dec004c0782e81661d9803ddf51a19b58dc469.zip |
Do some things to make -ffunction-sections work better.
* Add wildcards to various sections placements a la *(".text") => "*(.text*)"
* Remove hacky bits from those linker scripts (no problem encountered testing)
* Change section for asm functions from .<section> to .<section>.<function>
so that -ffunction-sections works for those asm file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31337 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/app.lds')
-rw-r--r-- | firmware/target/arm/imx233/app.lds | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/app.lds b/firmware/target/arm/imx233/app.lds index 0eeecc1ab8..1dc929c778 100644 --- a/firmware/target/arm/imx233/app.lds +++ b/firmware/target/arm/imx233/app.lds | |||
@@ -52,9 +52,9 @@ SECTIONS | |||
52 | _iramstart = .; // always 0 | 52 | _iramstart = .; // always 0 |
53 | *(.vectors) | 53 | *(.vectors) |
54 | KEEP(*(.vectors));// otherwise there are no references to it and the linker strip it | 54 | KEEP(*(.vectors));// otherwise there are no references to it and the linker strip it |
55 | *(.icode) | 55 | *(.icode*) |
56 | *(.irodata) | 56 | *(.irodata*) |
57 | *(.idata) | 57 | *(.idata*) |
58 | . = ALIGN(0x4); | 58 | . = ALIGN(0x4); |
59 | _iramend = .; | 59 | _iramend = .; |
60 | } > IRAM AT> DRAM | 60 | } > IRAM AT> DRAM |
@@ -65,7 +65,7 @@ SECTIONS | |||
65 | { | 65 | { |
66 | _iedata = .; | 66 | _iedata = .; |
67 | *(.qharray) | 67 | *(.qharray) |
68 | *(.ibss) | 68 | *(.ibss*) |
69 | . = ALIGN(0x4); | 69 | . = ALIGN(0x4); |
70 | _iend = .; | 70 | _iend = .; |
71 | } > IRAM | 71 | } > IRAM |