From fda19e04387359e1bc8c30f0eda5a61d976942ff Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 10 Apr 2017 12:01:30 -0700 Subject: Add sysdeps/x86/dl-procinfo.c Add sysdeps/x86/dl-procinfo.c for x86 version of processor capability information to reduce duplication between i386 and x86_64 dl-procinfo.c. * sysdeps/i386/dl-procinfo.c: Include . * sysdeps/x86_64/dl-procinfo.c: Likewise. * sysdeps/x86/dl-procinfo.c: New file. --- sysdeps/x86_64/dl-procinfo.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/dl-procinfo.c b/sysdeps/x86_64/dl-procinfo.c index a76624fb06..17ae800a37 100644 --- a/sysdeps/x86_64/dl-procinfo.c +++ b/sysdeps/x86_64/dl-procinfo.c @@ -39,19 +39,7 @@ # define PROCINFO_CLASS #endif -#if !defined PROCINFO_DECL && defined SHARED - ._dl_x86_cpu_features -#else -PROCINFO_CLASS struct cpu_features _dl_x86_cpu_features -#endif -#ifndef PROCINFO_DECL -= { } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif +#include #undef PROCINFO_DECL #undef PROCINFO_CLASS -- cgit 1.4.1