about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-03-08 15:16:40 +0100
committerAurelien Jarno <aurelien@aurel32.net>2016-03-08 21:22:21 +0100
commit9d1399e89d431b34a5a6e5e48ee40721c22815b8 (patch)
tree1800bc7d21ef1a8c2b8b6e1ac10027bcf6674212
parentf23d7d2a8420a5ba2e28fc9c1d9c2b2996498d46 (diff)
downloadglibc-9d1399e89d431b34a5a6e5e48ee40721c22815b8.tar.gz
glibc-9d1399e89d431b34a5a6e5e48ee40721c22815b8.tar.xz
glibc-9d1399e89d431b34a5a6e5e48ee40721c22815b8.zip
Add sys/auxv.h wrapper to include/sys/
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)
-rw-r--r--ChangeLog4
-rw-r--r--include/sys/auxv.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a27eb7952..31773324f1 100644
--- 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
index 0000000000..dede2c36ac
--- /dev/null
+++ b/include/sys/auxv.h
@@ -0,0 +1 @@
+#include <misc/sys/auxv.h>