diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:58:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:58:18 (GMT) |
commit | 2c854d97760abc9997260aa03924af5bd0315fb8 (patch) | |
tree | c892f33a37d63139a31e3756d39c3081daac92bf | |
parent | e0e07babd25d3b621d8ffcc7c2b636aea32876d2 (diff) | |
parent | b63a137be6a9a9491e5927f5613bbaf84f00532b (diff) | |
download | tcl-2c854d97760abc9997260aa03924af5bd0315fb8.zip tcl-2c854d97760abc9997260aa03924af5bd0315fb8.tar.gz tcl-2c854d97760abc9997260aa03924af5bd0315fb8.tar.bz2 |
Bug [3601804]: platformCPUID segmentation fault on Darwin
-rw-r--r-- | unix/tclUnixCompat.c | 2 |
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; |