diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2009-03-08 12:48:58 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2009-03-08 12:48:58 +0000 |
commit | f4515c3082dd413017ae06c25d7e85b1dcee30bf (patch) | |
tree | 1154b2fd5049aa42a1fdd2047effd39e9da1ccaa /apps/codecs/lib/SOURCES | |
parent | 3f69bb2b1d00ccc54e2097fd9da750fcd2f7e11b (diff) | |
download | rockbox-f4515c3082dd413017ae06c25d7e85b1dcee30bf.tar.gz rockbox-f4515c3082dd413017ae06c25d7e85b1dcee30bf.zip |
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
Diffstat (limited to 'apps/codecs/lib/SOURCES')
-rw-r--r-- | apps/codecs/lib/SOURCES | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
5 | mdct2.c | 5 | mdct2.c |
6 | #ifdef CPU_ARM | 6 | #ifdef CPU_ARM |
7 | mdct_arm.S | 7 | mdct_arm.S |
8 | setjmp_arm.S | ||
8 | #if ARM_ARCH == 4 | 9 | #if ARM_ARCH == 4 |
9 | udiv32_armv4.S | 10 | udiv32_armv4.S |
10 | #endif | 11 | #endif |
11 | #endif | 12 | #endif |
12 | 13 | ||
14 | #ifdef CPU_COLDFIRE | ||
15 | setjmp_cf.S | ||
16 | #endif | ||
17 | |||
13 | #elif defined(SIMULATOR) && defined(__APPLE__) | 18 | #elif defined(SIMULATOR) && defined(__APPLE__) |
14 | osx.dummy.c | 19 | osx.dummy.c |
15 | #endif | 20 | #endif |