summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:56:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:56:27 (GMT)
commit21be09ba34563c7d9fd3b0d013fe643c63f00174 (patch)
tree709e92f8b34432eb936a6968c475e113fec0dcf9 /unix/tclUnixCompat.c
parent096fcb63ad03e22727db52eba9d7926194f673ae (diff)
downloadtcl-21be09ba34563c7d9fd3b0d013fe643c63f00174.zip
tcl-21be09ba34563c7d9fd3b0d013fe643c63f00174.tar.gz
tcl-21be09ba34563c7d9fd3b0d013fe643c63f00174.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 71bd846..1969d1c 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -698,7 +698,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;