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.
This commit is contained in:
Jeff Johnston 2004-10-25 17:53:19 +00:00
parent a3a401001a
commit 06b5ef6e7d
3 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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).

View File

@ -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