1
0
Fork 0
forked from len0rd/rockbox

Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the Vorbis codec to better handle out of memory conditions (to exit rather than crash; the AAC codec could use it too). setjmp/longjmp comes from newlib 1.17.0 with a few minor changes (combine parts of some files, remove support for some architectures, change some ifdef's).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20235 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2009-03-08 12:48:58 +00:00
parent 3f69bb2b1d
commit f4515c3082
6 changed files with 340 additions and 2 deletions

View file

@ -5,11 +5,16 @@ codeclib.c
mdct2.c
#ifdef CPU_ARM
mdct_arm.S
setjmp_arm.S
#if ARM_ARCH == 4
udiv32_armv4.S
#endif
#endif
#ifdef CPU_COLDFIRE
setjmp_cf.S
#endif
#elif defined(SIMULATOR) && defined(__APPLE__)
osx.dummy.c
#endif