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)
commit6c54d4f137226a0fc57e74a050e03a5ee00a118c (patch)
treec892f33a37d63139a31e3756d39c3081daac92bf /unix/tclUnixCompat.c
parent90852966272ccb62a125e43ba6cd5b2f3184ebe6 (diff)
parent3a2c58f0e325649c4a1c1f7dc37ed58705f91221 (diff)
downloadtcl-6c54d4f137226a0fc57e74a050e03a5ee00a118c.zip
tcl-6c54d4f137226a0fc57e74a050e03a5ee00a118c.tar.gz
tcl-6c54d4f137226a0fc57e74a050e03a5ee00a118c.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;