summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2016-06-22 05:48:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-22 05:48:11 -0700
commitfb147996fa2866ecc95436a1d36cac4cc45ac5d8 (patch)
treeda4600b3271bd6ae6a47483901e8dfe2f24e3622
parenta024b39a4e31a049391b459234f6b3575c9fc107 (diff)
downloadglibc-fb147996fa2866ecc95436a1d36cac4cc45ac5d8.tar.gz
Move sysdeps/generic/bits/hwcap.h to top-level bits/
This file was added to sysdeps/generic/bits in 2012. This appears to have been an oversight, as the entire sysdeps/generic/bits directory was moved to the top level in 2005. Accordingly the generic bits/hwcap.h belongs there too. * sysdeps/generic/bits/hwcap.h: Moved to ... * bits/hwcap.h: Here.
-rw-r--r--bits/hwcap.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/bits/hwcap.h b/bits/hwcap.h
new file mode 100644
index 0000000000..39839ff27b
--- /dev/null
+++ b/bits/hwcap.h
@@ -0,0 +1,23 @@
+/* Defines for bits in AT_HWCAP.
+ Copyright (C) 2012-2016 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ 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/>. */
+
+#ifndef _SYS_AUXV_H
+# error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
+#endif
+
+/* No bits defined for this architecture. */