diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-06-11 19:42:21 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-06-11 19:42:21 +0000 |
commit | 0cca15c6d03991b9c169fdf4e0760f90928712a0 (patch) | |
tree | 05ac9b4b4289bc3b58040fe97ab592914f6fd177 /firmware/export/config.h | |
parent | 1965745ad0300191133535a849ccc4c5a106ce51 (diff) | |
download | rockbox-0cca15c6d03991b9c169fdf4e0760f90928712a0.tar.gz rockbox-0cca15c6d03991b9c169fdf4e0760f90928712a0.zip |
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
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ | |||
763 | && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 | 763 | && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 |
764 | #define PLUGIN_USE_IRAM | 764 | #define PLUGIN_USE_IRAM |
765 | #endif | 765 | #endif |
766 | #if defined(CPU_ARM) | 766 | #if defined(CPU_ARM) && !defined(__ARM_EABI__) |
767 | /* GCC quirk workaround: arm-elf-gcc treats static functions as short_call | 767 | /* GCC quirk workaround: arm-elf-gcc treats static functions as short_call |
768 | * when not compiling with -ffunction-sections, even when the function has | 768 | * when not compiling with -ffunction-sections, even when the function has |
769 | * a section attribute. */ | 769 | * a section attribute. |
770 | * This is fixed with eabi since all calls are short ones by default */ | ||
770 | #define STATICIRAM | 771 | #define STATICIRAM |
771 | #else | 772 | #else |
772 | #define STATICIRAM static | 773 | #define STATICIRAM static |