summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:58:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:58:18 (GMT)
commit2c854d97760abc9997260aa03924af5bd0315fb8 (patch)
treec892f33a37d63139a31e3756d39c3081daac92bf /unix/tclUnixCompat.c
parente0e07babd25d3b621d8ffcc7c2b636aea32876d2 (diff)
parentb63a137be6a9a9491e5927f5613bbaf84f00532b (diff)
downloadtcl-2c854d97760abc9997260aa03924af5bd0315fb8.zip
tcl-2c854d97760abc9997260aa03924af5bd0315fb8.tar.gz
tcl-2c854d97760abc9997260aa03924af5bd0315fb8.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 e201018..eb673d6 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -1000,7 +1000,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;