summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:57:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:57:27 (GMT)
commitb63a137be6a9a9491e5927f5613bbaf84f00532b (patch)
tree2abb83c21947e2f11c7af56ec84dbecaab2a183c /unix/tclUnixCompat.c
parent8c190c2de231c115b66ef2dc05a8d9b8da20b930 (diff)
parent21be09ba34563c7d9fd3b0d013fe643c63f00174 (diff)
downloadtcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.zip
tcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.tar.gz
tcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.tar.bz2
Bug [3601804]: platformCPUID segmentation fault on Darwin
Diffstat (limited to 'unix/tclUnixCompat.c')
-rw-r--r--unix/tclUnixCompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 06c19b9..67bd498 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -992,7 +992,7 @@ TclWinCPUID(
"mov %%ebx, %%esi \n\t" /* save what cpuid just put in %ebx */
"mov %%edi, %%ebx \n\t" /* restore the old %ebx */
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
- : "a"(index) : "edi");
+ : "a"(index) : "edi","ebx");
status = TCL_OK;
#endif
return status;