diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-08-12 17:02:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-08-12 17:02:51 -0700 |
commit | b4acef1ffe2e1ba6c608f31c1954a8100d3eabb0 (patch) | |
tree | a93ac67799d6e5086b0c60296690bf9316d10776 /ChangeLog | |
parent | 61b1ef6e7cc4518cdadb808dfa78980cc15a63c3 (diff) | |
download | glibc-b4acef1ffe2e1ba6c608f31c1954a8100d3eabb0.tar.gz glibc-b4acef1ffe2e1ba6c608f31c1954a8100d3eabb0.tar.xz glibc-b4acef1ffe2e1ba6c608f31c1954a8100d3eabb0.zip |
Replace cpuid asm statement with __cpuid_count
The compiler doesn't know that the cpuid asm statement in intel_check_word will trash RBX. We are lucky that it doesn't cause any problems since RBX is also used by compiler for other purposes so that RBX is saved and restored. This patch replaces it with __cpuid_count. [BZ #17259] * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid asm statement with __cpuid_count.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d385cc937e..e3a1f0a974 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-08-12 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #17259] + * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid + asm statement with __cpuid_count. + 2014-08-12 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change __ehdr_start code to dereference the struct. |