diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-13 11:52:57 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-13 11:52:57 +0000 |
commit | 18dff12614d08e5d01fe0e22815a47aedffbfc8e (patch) | |
tree | 1e0520d6bbf43fabb9ff34f1cba479882ab8de6a /apps/codecs/Tremor | |
parent | e8dcb5481744d27cc5b0e44ef210c53287bb56da (diff) | |
download | rockbox-18dff12614d08e5d01fe0e22815a47aedffbfc8e.tar.gz rockbox-18dff12614d08e5d01fe0e22815a47aedffbfc8e.zip |
iPod: Work around a problem with one Tremor function not being happy in IRAM (relocation truncated to fit linker error)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7843 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/Tremor')
-rw-r--r-- | apps/codecs/Tremor/bitwise.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/Tremor/bitwise.c b/apps/codecs/Tremor/bitwise.c index d0f2c8c255..41941f2506 100644 --- a/apps/codecs/Tremor/bitwise.c +++ b/apps/codecs/Tremor/bitwise.c | |||
@@ -140,7 +140,11 @@ long oggpack_look(oggpack_buffer *b,int bits){ | |||
140 | } | 140 | } |
141 | 141 | ||
142 | /* limited to 32 at a time */ | 142 | /* limited to 32 at a time */ |
143 | #if CONFIG_CPU!=PP5020 | ||
144 | /* TODO: This function (and this function only) causes a "relocation | ||
145 | truncated to fit: R_ARM_PC24" error when in IRAM on ARM targets */ | ||
143 | void oggpack_adv(oggpack_buffer *b,int bits) ICODE_ATTR; | 146 | void oggpack_adv(oggpack_buffer *b,int bits) ICODE_ATTR; |
147 | #endif | ||
144 | void oggpack_adv(oggpack_buffer *b,int bits){ | 148 | void oggpack_adv(oggpack_buffer *b,int bits){ |
145 | bits+=b->headbit; | 149 | bits+=b->headbit; |
146 | b->headbit=bits&7; | 150 | b->headbit=bits&7; |