From: Nikos Mavrogiannopoulos Date: Sun, 3 Apr 2016 07:46:24 +0000 (+0200) Subject: x86-common: increase the size of _gnutls_x86_cpuid_s to match the size of assembly... X-Git-Tag: gnutls_3_5_0~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0034a5f2ed15cffabeae197b1aafa8172009c4e0;p=thirdparty%2Fgnutls.git x86-common: increase the size of _gnutls_x86_cpuid_s to match the size of assembly files This resolves issue on certain platforms (e.g., windows) where ld would simply fail, instead of allocate the largest size of the variable. --- diff --git a/lib/accelerated/x86/x86-common.c b/lib/accelerated/x86/x86-common.c index 6c0e7b66a2..371d025ad9 100644 --- a/lib/accelerated/x86/x86-common.c +++ b/lib/accelerated/x86/x86-common.c @@ -46,7 +46,7 @@ __attribute__((visibility("hidden"))) #elif defined(__SUNPRO_C) __hidden #endif -unsigned int _gnutls_x86_cpuid_s[3]; +unsigned int _gnutls_x86_cpuid_s[4]; #ifndef bit_PCLMUL # define bit_PCLMUL 0x2