summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2012-10-22 21:30:01 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2012-10-24 14:02:41 +0200
commitc975de1534f4b4092ad75f85353eec32a9a31b92 (patch)
tree611c581d6ce81b6575f8b20ec8cd795e85ccb298 /apps/plugins
parent8ad8473d814c4ce4db62d35759939f1fae146361 (diff)
downloadrockbox-c975de1534f4b4092ad75f85353eec32a9a31b92.tar.gz
rockbox-c975de1534f4b4092ad75f85353eec32a9a31b92.zip
SH gcc 4.6.3 with link-time optimization, for Archos targets
This is work from FS#12431 synced to current HEAD and slightly tweaked (gcc 4.6.2 -> 4.6.3, binutils 2.21.1 -> 2.22) Change-Id: I76af91e80ac2a9c16a776c7f0a33cc51603bbf9b
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/gcc-support.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/gcc-support.c b/apps/plugins/lib/gcc-support.c
index 09a08fa9f5..156dbf93eb 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 *memcpy(void *dest, const void *src, size_t n) 32void USED_ATTR *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 *memset(void *dest, int c, size_t n) 37void USED_ATTR *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 *memmove(void *dest, const void *src, size_t n) 42void USED_ATTR *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 memcmp(const void *s1, const void *s2, size_t n) 47int USED_ATTR 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}