summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/lib/setjmp.h4
-rw-r--r--apps/codecs/lib/setjmp_mips.S4
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/codecs/lib/setjmp.h b/apps/codecs/lib/setjmp.h
index 4bcf6af623..91571b9f84 100644
--- a/apps/codecs/lib/setjmp.h
+++ b/apps/codecs/lib/setjmp.h
@@ -24,8 +24,8 @@
24#define _JBLEN 34 24#define _JBLEN 34
25#endif 25#endif
26 26
27#ifdef __mips__ 27#ifdef CPU_MIPS
28#ifdef __mips64 28#if CPU_MIPS == 64
29#define _JBTYPE long long 29#define _JBTYPE long long
30#endif 30#endif
31#ifdef __mips_soft_float 31#ifdef __mips_soft_float
diff --git a/apps/codecs/lib/setjmp_mips.S b/apps/codecs/lib/setjmp_mips.S
index 69799a005c..ccb83bd596 100644
--- a/apps/codecs/lib/setjmp_mips.S
+++ b/apps/codecs/lib/setjmp_mips.S
@@ -1,3 +1,5 @@
1#include "config.h"
2
1/* This is a simple version of setjmp and longjmp for MIPS 32 and 64. 3/* This is a simple version of setjmp and longjmp for MIPS 32 and 64.
2 4
3 Ian Lance Taylor, Cygnus Support, 13 May 1993. */ 5 Ian Lance Taylor, Cygnus Support, 13 May 1993. */
@@ -40,7 +42,7 @@
40#define FPR_LAYOUT 42#define FPR_LAYOUT
41#endif 43#endif
42 44
43#ifdef __mips64 45#if CPU_MIPS == 64
44#define BYTES_PER_WORD 8 46#define BYTES_PER_WORD 8
45#define LOAD_GPR ld 47#define LOAD_GPR ld
46#define LOAD_FPR ldc1 48#define LOAD_FPR ldc1