aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-20 04:29:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-20 04:29:23 -0700
commit1ae6c72dc10806d416a611ea8cc15640f972ffa7 (patch)
treebe2d04895be5bfe7996ac4aeaa7c0d5e4307b7d7 /sysdeps/x86
parenta452ef24d56280f19a629555285ba23ddff055e6 (diff)
downloadglibc-1ae6c72dc10806d416a611ea8cc15640f972ffa7.zip
glibc-1ae6c72dc10806d416a611ea8cc15640f972ffa7.tar.gz
glibc-1ae6c72dc10806d416a611ea8cc15640f972ffa7.tar.bz2
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.
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/init-arch.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysdeps/x86/init-arch.h b/sysdeps/x86/init-arch.h
new file mode 100644
index 0000000..2b9988e
--- /dev/null
+++ b/sysdeps/x86/init-arch.h
@@ -0,0 +1,22 @@
+/* This file is part of the GNU C Library.
+ Copyright (C) 2008-2015 Free Software Foundation, Inc.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#ifdef __ASSEMBLER__
+# include <cpu-features.h>
+#else
+# include <ldsodefs.h>
+#endif