summaryrefslogtreecommitdiff
path: root/lib/accelerated
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-03 09:46:24 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-03 09:47:28 +0200
commit0034a5f2ed15cffabeae197b1aafa8172009c4e0 (patch)
tree78c20fe512c62d25a7200bd28f2dd929fb0804c8 /lib/accelerated
parentc08a23d23bc267c531f6b4b364ac0259319077f6 (diff)
downloadgnutls-0034a5f2ed15cffabeae197b1aafa8172009c4e0.tar.gz
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.
Diffstat (limited to 'lib/accelerated')
-rw-r--r--lib/accelerated/x86/x86-common.c2
1 files changed, 1 insertions, 1 deletions
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