From 1410624bcd9f26522f902650ae8eacfcef84ec8b Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 3 Mar 2010 23:31:20 +0000 Subject: 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 --- firmware/export/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1