From f4515c3082dd413017ae06c25d7e85b1dcee30bf Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sun, 8 Mar 2009 12:48:58 +0000 Subject: 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 --- apps/codecs/lib/SOURCES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/codecs/lib/SOURCES') diff --git a/apps/codecs/lib/SOURCES b/apps/codecs/lib/SOURCES index 8099620098..b0ebbc5441 100644 --- a/apps/codecs/lib/SOURCES +++ b/apps/codecs/lib/SOURCES @@ -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 -- cgit v1.2.3