1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dave Chapman 2005-11-13 11:52:57 +00:00
parent e8dcb54817
commit 18dff12614

View file

@ -140,7 +140,11 @@ long oggpack_look(oggpack_buffer *b,int bits){
} }
/* limited to 32 at a time */ /* limited to 32 at a time */
#if CONFIG_CPU!=PP5020
/* TODO: This function (and this function only) causes a "relocation
truncated to fit: R_ARM_PC24" error when in IRAM on ARM targets */
void oggpack_adv(oggpack_buffer *b,int bits) ICODE_ATTR; void oggpack_adv(oggpack_buffer *b,int bits) ICODE_ATTR;
#endif
void oggpack_adv(oggpack_buffer *b,int bits){ void oggpack_adv(oggpack_buffer *b,int bits){
bits+=b->headbit; bits+=b->headbit;
b->headbit=bits&7; b->headbit=bits&7;