diff options
Diffstat (limited to 'sysdeps/x86_64/dl-procinfo.c')
-rw-r--r-- | sysdeps/x86_64/dl-procinfo.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/x86_64/dl-procinfo.c b/sysdeps/x86_64/dl-procinfo.c index a76624fb06..5ccdb7fbc3 100644 --- a/sysdeps/x86_64/dl-procinfo.c +++ b/sysdeps/x86_64/dl-procinfo.c @@ -53,5 +53,21 @@ PROCINFO_CLASS struct cpu_features _dl_x86_cpu_features , #endif +#if !defined PROCINFO_DECL && defined SHARED + ._dl_x86_hwcap_flags +#else +PROCINFO_CLASS const char _dl_x86_hwcap_flags[2][8] +#endif +#ifndef PROCINFO_DECL += { + "sse2", "avx2" + } +#endif +#if !defined SHARED || defined PROCINFO_DECL +; +#else +, +#endif + #undef PROCINFO_DECL #undef PROCINFO_CLASS |