Preserve %ebx across CPUID when using PIE (thanks Faustus, Anthony Basile from Gentoo).
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 17 Mar 2012 10:32:39 +0000 (10:32 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 17 Mar 2012 10:53:56 +0000 (10:53 +0000)
commit53cf9493343e34b09622a544c84957d60d50c038
treebe4c3d3ea979e08f998c586b9644154e477ce871
parentd87e9cbae34b22c89e6094263ae44567f5b5bd90
Preserve %ebx across CPUID when using PIE (thanks Faustus, Anthony Basile from Gentoo).

PIE on i686 uses %ebx as a base register.  Don't clobber it across the
CPUID instruction.

https://bugs.gentoo.org/show_bug.cgi?id=341271
https://bugzilla.redhat.com/show_bug.cgi?id=804282
virt-what-cpuid-helper.c