summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-04 20:34:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-04 20:34:42 +0000
commitaaa5c0d08cb1b828a592983a34b4bd093ba8c9fe (patch)
treee460863f1409a0284c41bba6cbbd174fb0473a3f /cpukit
parent2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-aaa5c0d08cb1b828a592983a34b4bd093ba8c9fe.tar.bz2
2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/avr/ChangeLog4
-rw-r--r--cpukit/score/cpu/avr/cpu_asm.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index ca48ff6c92..f509ab6135 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib.
+
2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: AVR stack grows down.
diff --git a/cpukit/score/cpu/avr/cpu_asm.c b/cpukit/score/cpu/avr/cpu_asm.c
index 685c4247a0..ceacc7f617 100644
--- a/cpukit/score/cpu/avr/cpu_asm.c
+++ b/cpukit/score/cpu/avr/cpu_asm.c
@@ -28,6 +28,16 @@
#include <rtems/bspIo.h> /* XXX remove me later */
+/* XXX remove me when really implemented */
+int setjmp(void)
+{
+ return 0;
+}
+int longjmp(void)
+{
+ return 0;
+}
+
/*
* _CPU_Context_save_fp_context
*