forked from len0rd/rockbox
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
This commit is contained in:
parent
1965745ad0
commit
0cca15c6d0
1 changed files with 3 additions and 2 deletions
|
|
@ -763,10 +763,11 @@ Lyre prototype 1 */
|
||||||
&& CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2
|
&& CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2
|
||||||
#define PLUGIN_USE_IRAM
|
#define PLUGIN_USE_IRAM
|
||||||
#endif
|
#endif
|
||||||
#if defined(CPU_ARM)
|
#if defined(CPU_ARM) && !defined(__ARM_EABI__)
|
||||||
/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
|
/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
|
||||||
* when not compiling with -ffunction-sections, even when the function has
|
* 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
|
#define STATICIRAM
|
||||||
#else
|
#else
|
||||||
#define STATICIRAM static
|
#define STATICIRAM static
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue