diff options
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rwxr-xr-x | libiberty/configure | 2 | ||||
-rw-r--r-- | libiberty/configure.ac | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 3258d1a..389fb14 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2023-12-05 Jakub Jelinek <jakub@redhat.com> + + * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): Verify __get_cpuid and + __get_cpuid_count are not implicitly declared. + * configure: Regenerated. + 2023-11-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke. diff --git a/libiberty/configure b/libiberty/configure index d39b1b7..291c910 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -7665,6 +7665,8 @@ void foo (__m128i *buf, unsigned int e, __m128i msg0, __m128i msg1) int bar (void) { unsigned int eax, ebx, ecx, edx; + (void) __get_cpuid; + (void) __get_cpuid_count; if (__get_cpuid_count (7, 0, &eax, &ebx, &ecx, &edx) && (ebx & bit_SHA) != 0 && __get_cpuid (1, &eax, &ebx, &ecx, &edx) diff --git a/libiberty/configure.ac b/libiberty/configure.ac index cf2c970..20e4185 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -769,6 +769,8 @@ void foo (__m128i *buf, unsigned int e, __m128i msg0, __m128i msg1) int bar (void) { unsigned int eax, ebx, ecx, edx; + (void) __get_cpuid; + (void) __get_cpuid_count; if (__get_cpuid_count (7, 0, &eax, &ebx, &ecx, &edx) && (ebx & bit_SHA) != 0 && __get_cpuid (1, &eax, &ebx, &ecx, &edx) |