mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
Move x86_64 init-arch.h to sysdeps/x86/init-arch.h
Move sysdeps/x86_64/multiarch/init-arch.h to sysdeps/x86/init-arch.h which can be used for both i386 and x86_64. * sysdeps/i386/i686/multiarch/init-arch.h: Removed. * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise. * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead of "multiarch/init-arch.h". * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ... * sysdeps/x86/init-arch.h: This.
This commit is contained in:
parent
a452ef24d5
commit
1ae6c72dc1
@ -1,3 +1,12 @@
|
||||
2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/i386/i686/multiarch/init-arch.h: Removed.
|
||||
* sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
|
||||
* sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
|
||||
of "multiarch/init-arch.h".
|
||||
* sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
|
||||
* sysdeps/x86/init-arch.h: This.
|
||||
|
||||
2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/i386/i686/multiarch/init-arch.c: Removed.
|
||||
|
@ -1 +0,0 @@
|
||||
#include <sysdeps/x86_64/multiarch/init-arch.h>
|
@ -1 +0,0 @@
|
||||
#include <sysdeps/x86_64/multiarch/init-arch.h>
|
@ -21,7 +21,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <cpuid.h>
|
||||
#include "multiarch/init-arch.h"
|
||||
#include <init-arch.h>
|
||||
|
||||
#define is_intel GLRO(dl_x86_cpu_features).kind == arch_kind_intel
|
||||
#define is_amd GLRO(dl_x86_cpu_features).kind == arch_kind_amd
|
||||
|
Loading…
Reference in New Issue
Block a user