+2006-05-14 Vangelis Rokas <vrokas AT users.sourceforge.net>
+
+ * device/lib/pic16/libsdcc/stack/{stack.S, Makefile.in}: add workaround
+ to fix missing stack pragma in compiled binary object file,
+
2006-05-14 Bernhard Held <bernhard AT bernhardheld.de>
* support/packihx/configure.in,
$CP "$srcdir"/pics.all pics.build
- ac_config_files="$ac_config_files Makefile Makefile.common debug/Makefile debug/gstack/Makefile libc/Makefile libc/ctype/Makefile libc/delay/Makefile libc/stdio/Makefile libc/stdlib/Makefile libc/string/Makefile libc/utils/Makefile libdev/Makefile libio/Makefile libio/adc/Makefile libio/i2c/Makefile libio/usart/Makefile libm/Makefile libsdcc/Makefile libsdcc/char/Makefile libsdcc/fixed16x16/Makefile libsdcc/float/Makefile libsdcc/gptr/Makefile libsdcc/int/Makefile libsdcc/long/Makefile libsdcc/lregs/Makefile startup/Makefile"
+ ac_config_files="$ac_config_files Makefile Makefile.common debug/Makefile debug/gstack/Makefile libc/Makefile libc/ctype/Makefile libc/delay/Makefile libc/stdio/Makefile libc/stdlib/Makefile libc/string/Makefile libc/utils/Makefile libdev/Makefile libio/Makefile libio/adc/Makefile libio/i2c/Makefile libio/usart/Makefile libm/Makefile libsdcc/Makefile libsdcc/char/Makefile libsdcc/fixed16x16/Makefile libsdcc/float/Makefile libsdcc/gptr/Makefile libsdcc/int/Makefile libsdcc/long/Makefile libsdcc/lregs/Makefile libsdcc/stack/Makefile startup/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"libsdcc/int/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/int/Makefile" ;;
"libsdcc/long/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/long/Makefile" ;;
"libsdcc/lregs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/lregs/Makefile" ;;
+ "libsdcc/stack/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsdcc/stack/Makefile" ;;
"startup/Makefile" ) CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
libsdcc/int/Makefile
libsdcc/long/Makefile
libsdcc/lregs/Makefile
+ libsdcc/stack/Makefile
startup/Makefile
])
AC_OUTPUT
srcdir = @srcdir@
VPATH = @srcdir@
-SUBDIRS = char fixed16x16 float gptr int long
+SUBDIRS = char fixed16x16 float gptr int long stack
# lregs
MKLIB = libsdcc.lib
--- /dev/null
+top_builddir = ../../
+top_srcdir = ../..
+srcdir = .
+
+
+SUBDIRS =
+
+include $(top_srcdir)/Makefile.subdir
--- /dev/null
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+SUBDIRS =
+
+include $(top_srcdir)/Makefile.subdir
--- /dev/null
+
+
+;
+; stack.S - automatically allocate stack for PIC16 targets
+; with out the need for using the #pragma stack
+; directive
+;
+; written by Vangelis Rokas, 2006 <vrokas AT users.sourceforge.net>
+;
+;
+; $Id$
+;
+
+; object will only be used if and only if #pragma stack is not
+; defined in one of the projet's sources
+
+ radix dec
+
+;--------------------------------------------------------
+; public variables in this module
+;--------------------------------------------------------
+ global _stack
+ global _stack_end
+
+
+; allocate space for stack
+stack_section udata 0x0200
+_stack res 63
+_stack_end res 1
+
+ end