]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add sys/auxv.h wrapper to include/sys/
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 8 Mar 2016 14:16:40 +0000 (15:16 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 8 Mar 2016 20:22:21 +0000 (21:22 +0100)
The GNU libc testsuite fails to build on powerpc/ppc64/ppc64le with the
following error:

    ../sysdeps/powerpc/test-get_hwcap.c:26:22: fatal error: sys/auxv.h: No such file or director

This is because test-get_hwcap.c includes <sys/auxv.h>, but we don't
provide a wrapper in include/sys. This patch adds one.

Changelog:
* include/sys/auxv.h: New file.

(cherry picked from commit 0b8dedd38f304d796b6b9b349428bea7f1f7065f)

ChangeLog
include/sys/auxv.h [new file with mode: 0644]

index 4a27eb795211f925bd1c5b461f8ee21b06d43012..31773324f10414e99be55b1e8931e940bffbc38d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * include/sys/auxv.h: New file.
+
 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
 
        * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
diff --git a/include/sys/auxv.h b/include/sys/auxv.h
new file mode 100644 (file)
index 0000000..dede2c3
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/sys/auxv.h>