From abd9f83e92fae22dcb9806deae665b7b303f430d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 19 Oct 2005 19:35:24 +0000 Subject: Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/plugin.lds') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index bf400cf..3e7261f 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -80,7 +80,9 @@ SECTIONS { iramstart = .; *(.icode) + *(.irodata) *(.idata) + *(.ibss) iramend = .; } > PLUGIN_IRAM #endif -- cgit v1.1