mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Remove STATICIRAM hack
It was only needed by the old arm toolchain that we no longer use or support. Change-Id: Id0e6c67477f8834a637079b03cde5fbf9da68b1c Reviewed-on: http://gerrit.rockbox.org/233 Reviewed-by: Nils Wallménius <nils@rockbox.org>
This commit is contained in:
parent
b371b705c7
commit
2dda258f99
9 changed files with 37 additions and 51 deletions
|
@ -912,21 +912,11 @@ Lyre prototype 1 */
|
|||
&& CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 && CONFIG_CPU != IMX233
|
||||
#define PLUGIN_USE_IRAM
|
||||
#endif
|
||||
#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.
|
||||
* This is fixed with eabi since all calls are short ones by default */
|
||||
#define STATICIRAM
|
||||
#else
|
||||
#define STATICIRAM static
|
||||
#endif
|
||||
#else
|
||||
#define ICODE_ATTR
|
||||
#define ICONST_ATTR
|
||||
#define IDATA_ATTR
|
||||
#define IBSS_ATTR
|
||||
#define STATICIRAM static
|
||||
#endif
|
||||
|
||||
#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue