summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2021-10-23 23:29:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2021-10-23 23:29:40 -0500
commite860a38a88c7ea148ee15976136a1f83ea13f8e0 (patch)
tree24f6fc56f9772ed5307abe03059dd5afc31d1415 /libgcompat
parent5bd1f89a69d906844aa6b28e672a5c5a44e88480 (diff)
downloadgcompat-e860a38a88c7ea148ee15976136a1f83ea13f8e0.tar.gz
gcompat-e860a38a88c7ea148ee15976136a1f83ea13f8e0.tar.bz2
gcompat-e860a38a88c7ea148ee15976136a1f83ea13f8e0.tar.xz
gcompat-e860a38a88c7ea148ee15976136a1f83ea13f8e0.zip
auxv: new moduleadd-__getauxval
Adds `__getauxval` wrapper, needed for Parallels Tools GUI installer.
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/auxv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcompat/auxv.c b/libgcompat/auxv.c
new file mode 100644
index 0000000..01de376
--- /dev/null
+++ b/libgcompat/auxv.c
@@ -0,0 +1,6 @@
+#include <sys/auxv.h> /* getauxval */
+
+unsigned long __getauxval(unsigned long value)
+{
+ return getauxval(value);
+}