From 0cca15c6d03991b9c169fdf4e0760f90928712a0 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 11 Jun 2010 19:42:21 +0000 Subject: Get rid of the STATICIRAM hack for eabi builds. Once all targets are converted we should probably remove all traces of it entirely. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26791 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/export/config.h b/firmware/export/config.h index 0e9df895c5..a2ba3f9f98 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -763,10 +763,11 @@ Lyre prototype 1 */ && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 #define PLUGIN_USE_IRAM #endif -#if defined(CPU_ARM) +#if defined(CPU_ARM) && !defined(__ARM_EABI__) /* GCC quirk workaround: arm-elf-gcc treats static functions as short_call * when not compiling with -ffunction-sections, even when the function has - * a section attribute. */ + * a section attribute. + * This is fixed with eabi since all calls are short ones by default */ #define STATICIRAM #else #define STATICIRAM static -- cgit v1.2.3