diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-10-25 17:53:19 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-10-25 17:53:19 +0000 |
commit | 06b5ef6e7da3ca6c8479493a4bd62260e0c114b4 (patch) | |
tree | 636a8a4016f9052e28b24712672531b95a9c5ac5 /newlib | |
parent | a3a401001affa249e8ed2697876b2fe1f2cafd8f (diff) | |
download | newlib-06b5ef6e7da3ca6c8479493a4bd62260e0c114b4.zip newlib-06b5ef6e7da3ca6c8479493a4bd62260e0c114b4.tar.gz newlib-06b5ef6e7da3ca6c8479493a4bd62260e0c114b4.tar.bz2 |
2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/include/machine/setjmp.h: Add AVR support.
* libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 4 | ||||
-rw-r--r-- | newlib/libc/sys/rtems/crt0.c | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 388d480..7f8d976 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * libc/include/machine/setjmp.h: Add AVR support. + * libc/sys/rtems/crt0.S [__AVR__]: Add __stack. + 2004-10-08 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/signal.h: If <signal.h> didn't include diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index c88ba6b..9f32c23 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -9,6 +9,10 @@ _BEGIN_STD_C #define _JBLEN 23 #endif +#if defined(__AVR__) +#define _JBLEN 24 +#endif + #ifdef __sparc__ /* * onsstack,sigmask,sp,pc,npc,psr,g1,o0,wbcnt (sigcontext). diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c index 2e95221..e40a8fc 100644 --- a/newlib/libc/sys/rtems/crt0.c +++ b/newlib/libc/sys/rtems/crt0.c @@ -122,3 +122,11 @@ asm (".equ V_FILL, 65" ); asm (".equ V_BSD_OS, 66" ); asm (".equ V_EPI_OS, 69" ); #endif + +#if defined(__AVR__) +/* + * Initial stack pointer address "__stack" + * hard coded into GCC instead of providing it through ldscripts + */ +const char* __stack ; +#endif |