summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authormdejong <mdejong>2003-01-25 12:48:12 (GMT)
committermdejong <mdejong>2003-01-25 12:48:12 (GMT)
commit758234180a856302c7aa063a7fbb6cb06145cd56 (patch)
tree218e72ad308897b4b323ce9ce00ba395738f37c9 /ChangeLog
parentf9b9d749cefde03a0e20c3fe82fd51cb3298e0f0 (diff)
downloadtcl-758234180a856302c7aa063a7fbb6cb06145cd56.zip
tcl-758234180a856302c7aa063a7fbb6cb06145cd56.tar.gz
tcl-758234180a856302c7aa063a7fbb6cb06145cd56.tar.bz2
* win/configure:
* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b3fa79..37fbaef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * win/configure:
+ * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE
+ when we detect that no alloca function is found
+ in malloc.h and we are compiling with GCC.
+ Remove HAVE_NO_ALLOC_DECL define.
+ * win/tclWin32Dll.c (TclpCheckStackSpace):
+ Don't define alloca as a cdecl function.
+ Doing this caused a tricky runtime bug because
+ the _alloca function expects the size argument
+ to be passed in a register and not on the stack.
+ To fix this problem, we use inline ASM when
+ compiling with gcc to invoke _alloca with the
+ size argument loaded into a register.
+
2003-01-24 Jeff Hobbs <jeffh@ActiveState.com>
* win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.