OSDN Git Service

* win/tclWin32Dll.c (_except_checkstackspace_handler): Define with proper
authorcgf <cgf>
Thu, 2 Feb 2006 20:02:09 +0000 (20:02 +0000)
committercgf <cgf>
Thu, 2 Feb 2006 20:02:09 +0000 (20:02 +0000)
attribute to prevent this static function from being deleted due to aggressive
gcc optimization.
* win/tclWinChan.c (_except_makefilechannel_handler): Ditto.
* win/tclWinFCmd.c (_except_dorenamefile_handler): Ditto.
* configure.in: Make sure that TCL_LIB_SPEC is properly filled out.
* configure: Regenerate.

tcl/ChangeLog
tcl/win/tclWin32Dll.c
tcl/win/tclWinChan.c
tcl/win/tclWinFCmd.c

index c8dc753..fb16550 100644 (file)
@@ -1,3 +1,14 @@
+2006-02-02  Christopher Faylor  <cgf@timesys.com>
+
+       * win/tclWin32Dll.c (_except_checkstackspace_handler): Define with
+       proper attribute to prevent this static function from being deleted due
+       to aggressive gcc optimization.
+       * win/tclWinChan.c (_except_makefilechannel_handler): Ditto.
+       * win/tclWinFCmd.c (_except_dorenamefile_handler): Ditto.
+
+       * configure.in: Make sure that TCL_LIB_SPEC is properly filled out.
+       * configure: Regenerate.
+
 2004-01-21  Keith Seitz  <kseitz@uglyboxes.com>
 
        From tcl repository:
index 6394e0e..e1a3cc1 100644 (file)
@@ -393,7 +393,7 @@ TclpCheckStackSpace()
 }
 #ifdef HAVE_NO_SEH
 static
-__attribute__ ((cdecl))
+__attribute__ ((cdecl,used))
 EXCEPTION_DISPOSITION
 _except_checkstackspace_handler(
     struct _EXCEPTION_RECORD *ExceptionRecord,
index 2d4470c..35c4e61 100644 (file)
@@ -1106,7 +1106,7 @@ Tcl_MakeFileChannel(rawHandle, mode)
 }
 #ifdef HAVE_NO_SEH
 static
-__attribute__ ((cdecl))
+__attribute__ ((cdecl,used))
 EXCEPTION_DISPOSITION
 _except_makefilechannel_handler(
     struct _EXCEPTION_RECORD *ExceptionRecord,
index c2e2b80..403e66e 100644 (file)
@@ -469,7 +469,7 @@ DoRenameFile(
 }
 #ifdef HAVE_NO_SEH
 static
-__attribute__ ((cdecl))
+__attribute__ ((cdecl,used))
 EXCEPTION_DISPOSITION
 _except_dorenamefile_handler(
     struct _EXCEPTION_RECORD *ExceptionRecord,
@@ -651,7 +651,7 @@ DoCopyFile(
 }
 #ifdef HAVE_NO_SEH
 static
-__attribute__ ((cdecl))
+__attribute__ ((cdecl,used))
 EXCEPTION_DISPOSITION
 _except_docopyfile_handler(
     struct _EXCEPTION_RECORD *ExceptionRecord,