summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-10-24 14:05:39 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2012-10-24 14:05:39 +0200
commit5dec7af1ecf5c0d483d13c8ad9cc0a13868a7c16 (patch)
tree5fddaa57054271fb123e993f782ec6cebb63c33c /apps
parentc975de1534f4b4092ad75f85353eec32a9a31b92 (diff)
downloadrockbox-5dec7af1ecf5c0d483d13c8ad9cc0a13868a7c16.tar.gz
rockbox-5dec7af1ecf5c0d483d13c8ad9cc0a13868a7c16.zip
Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets"
This was commited by accident, sorry.
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.h4
-rw-r--r--apps/plugins/lib/gcc-support.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index ad726d61bf..bb2778164b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -974,9 +974,9 @@ struct plugin_header {
974extern unsigned char plugin_start_addr[]; 974extern unsigned char plugin_start_addr[];
975extern unsigned char plugin_end_addr[]; 975extern unsigned char plugin_end_addr[];
976#define PLUGIN_HEADER \ 976#define PLUGIN_HEADER \
977 const struct plugin_api *rb DATA_ATTR USED_ATTR; \ 977 const struct plugin_api *rb DATA_ATTR; \
978 const struct plugin_header __header \ 978 const struct plugin_header __header \
979 __attribute__ ((section (".header"))) USED_ATTR = { \ 979 __attribute__ ((section (".header")))= { \
980 { PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \ 980 { PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \
981 plugin_start_addr, plugin_end_addr }, plugin__start, &rb }; 981 plugin_start_addr, plugin_end_addr }, plugin__start, &rb };
982#else /* PLATFORM_HOSTED */ 982#else /* PLATFORM_HOSTED */
diff --git a/apps/plugins/lib/gcc-support.c b/apps/plugins/lib/gcc-support.c
index 156dbf93eb..09a08fa9f5 100644
--- a/apps/plugins/lib/gcc-support.c
+++ b/apps/plugins/lib/gcc-support.c
@@ -29,22 +29,22 @@ void __attribute__((naked)) __div0(void)
29} 29}
30#endif 30#endif
31 31
32void USED_ATTR *memcpy(void *dest, const void *src, size_t n) 32void *memcpy(void *dest, const void *src, size_t n)
33{ 33{
34 return rb->memcpy(dest, src, n); 34 return rb->memcpy(dest, src, n);
35} 35}
36 36
37void USED_ATTR *memset(void *dest, int c, size_t n) 37void *memset(void *dest, int c, size_t n)
38{ 38{
39 return rb->memset(dest, c, n); 39 return rb->memset(dest, c, n);
40} 40}
41 41
42void USED_ATTR *memmove(void *dest, const void *src, size_t n) 42void *memmove(void *dest, const void *src, size_t n)
43{ 43{
44 return rb->memmove(dest, src, n); 44 return rb->memmove(dest, src, n);
45} 45}
46 46
47int USED_ATTR memcmp(const void *s1, const void *s2, size_t n) 47int memcmp(const void *s1, const void *s2, size_t n)
48{ 48{
49 return rb->memcmp(s1, s2, n); 49 return rb->memcmp(s1, s2, n);
50} 50}