From b4acef1ffe2e1ba6c608f31c1954a8100d3eabb0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 12 Aug 2014 17:02:51 -0700 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d385cc937e..e3a1f0a974 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-08-12 H.J. Lu + + [BZ #17259] + * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid + asm statement with __cpuid_count. + 2014-08-12 Mike Frysinger * configure.ac: Change __ehdr_start code to dereference the struct. -- cgit v1.2.3-70-g09d2