summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-03 23:31:20 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-03 23:31:20 +0000
commit1410624bcd9f26522f902650ae8eacfcef84ec8b (patch)
tree9f8cf4b132ff58eaa8675b955f97a122090e728b
parentf8edc325896c9c24d7f32f4861a0b0d2a8b9f4cd (diff)
downloadrockbox-1410624bcd9f26522f902650ae8eacfcef84ec8b.zip
rockbox-1410624bcd9f26522f902650ae8eacfcef84ec8b.tar.gz
rockbox-1410624bcd9f26522f902650ae8eacfcef84ec8b.tar.bz2
rockbox-1410624bcd9f26522f902650ae8eacfcef84ec8b.tar.xz
Fix reds. Don't use the init section in the bootloader. It's not useful there anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25014 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 06003b4..51cf8c4 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -747,7 +747,7 @@ Lyre prototype 1 */
#define IBSS_ATTR
#define STATICIRAM static
#endif
-#if (defined(CPU_PP) || (CONFIG_CPU == AS3525)) && !defined(SIMULATOR)
+#if (defined(CPU_PP) || (CONFIG_CPU == AS3525)) && !defined(SIMULATOR) && !defined(BOOTLOADER)
#define INIT_ATTR __attribute__ ((section(".init")))
#else
#define INIT_ATTR