Clean up a leftover preprocessor symbol and improve the workaround for the 'arm-elf and static functions in iram' quirk so it doesn't affect builds with eabi toolchain (only affects nano2g).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-06-29 14:57:52 +00:00
parent 5af120f1cb
commit 7c716d6eac

View file

@ -19,14 +19,10 @@
#endif
#endif
#ifndef ICODE_ATTR_TREMOR_MDCT
#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
#endif
/* Workaround for gcc bug where all static functions are called with short
calls */
#if !defined(ICODE_ATTR_TREMOR_NOT_MDCT) && (CONFIG_CPU==S5L8701)
#define STATICIRAM_NOT_MDCT
#define STATICIRAM_NOT_MDCT STATICIRAM
#else
#define STATICIRAM_NOT_MDCT static
#endif