Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-10-25 21:53:19 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-10-25 21:53:19 +0400
commit06b5ef6e7da3ca6c8479493a4bd62260e0c114b4 (patch)
tree636a8a4016f9052e28b24712672531b95a9c5ac5 /newlib/libc/sys/rtems
parenta3a401001affa249e8ed2697876b2fe1f2cafd8f (diff)
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/libc/sys/rtems')
-rw-r--r--newlib/libc/sys/rtems/crt0.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index 2e9522134..e40a8fc03 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