diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-04-10 12:01:30 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-04-10 12:01:45 -0700 |
commit | fda19e04387359e1bc8c30f0eda5a61d976942ff (patch) | |
tree | 569fd5b3d616e2a7b0b14c096cbea110d01d2877 /sysdeps/i386 | |
parent | 6d4adeb700840bab65165223e058ddc459cf07b8 (diff) | |
download | glibc-fda19e04387359e1bc8c30f0eda5a61d976942ff.tar.gz glibc-fda19e04387359e1bc8c30f0eda5a61d976942ff.tar.xz glibc-fda19e04387359e1bc8c30f0eda5a61d976942ff.zip |
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/dl-procinfo.c>. * sysdeps/x86_64/dl-procinfo.c: Likewise. * sysdeps/x86/dl-procinfo.c: New file.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/dl-procinfo.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sysdeps/i386/dl-procinfo.c b/sysdeps/i386/dl-procinfo.c index cec7dccfb8..b83283004e 100644 --- a/sysdeps/i386/dl-procinfo.c +++ b/sysdeps/i386/dl-procinfo.c @@ -43,21 +43,7 @@ # define PROCINFO_CLASS #endif -#if !IS_IN (ldconfig) -# 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 -#endif +#include <sysdeps/x86/dl-procinfo.c> #if !defined PROCINFO_DECL && defined SHARED ._dl_x86_cap_flags |