[1/4] Move sysdeps/generic/bits/hwcap.h to top-level bits/.
Commit Message
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.
ChangeLog:
* sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
---
bits/hwcap.h | 23 +++++++++++++++++++++++
sysdeps/generic/bits/hwcap.h | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
create mode 100644 bits/hwcap.h
delete mode 100644 sysdeps/generic/bits/hwcap.h
Comments
On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
> 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.
>
> ChangeLog:
> * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
Looks good to me.
On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>> 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.
>>
>> ChangeLog:
>> * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>
> Looks good to me.
Gonna need someone to check this and any other good-as-is pieces in.
zw
On Fri, May 13, 2016 at 12:42 PM, Zack Weinberg <zackw@panix.com> wrote:
> On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>>> 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.
>>>
>>> ChangeLog:
>>> * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>>
>> Looks good to me.
>
> Gonna need someone to check this and any other good-as-is pieces in.
Ping?
On Wed, Jun 22, 2016 at 4:41 AM, Zack Weinberg <zackw@panix.com> wrote:
> On Fri, May 13, 2016 at 12:42 PM, Zack Weinberg <zackw@panix.com> wrote:
>> On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>>>> 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.
>>>>
>>>> ChangeLog:
>>>> * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>>>
>>> Looks good to me.
>>
>> Gonna need someone to check this and any other good-as-is pieces in.
>
> Ping?
I checked in it for you. Please ping again with the patch generated by
"git format-patch" if you can't check it in yourself so that people can use
"git am" to apply your patch.
new file mode 100644
@@ -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. */
deleted file mode 100644
@@ -1,23 +0,0 @@
-/* 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. */