diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-10-09 20:42:02 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-10-20 01:28:25 -0400 |
commit | fe39aaae0eafdab3340ea9a4c4b275c3528b4d75 (patch) | |
tree | 2055dff0982e4ab83e1615c1c8cb50ca1e3e10f7 /include/sys | |
parent | 5a05f67599ff06f9255aa4119cfecb85575d6e20 (diff) | |
download | musl-fe39aaae0eafdab3340ea9a4c4b275c3528b4d75.tar.gz musl-fe39aaae0eafdab3340ea9a4c4b275c3528b4d75.tar.bz2 musl-fe39aaae0eafdab3340ea9a4c4b275c3528b4d75.tar.xz musl-fe39aaae0eafdab3340ea9a4c4b275c3528b4d75.zip |
add bits/hwcap.h and include it in sys/auxv.h
aarch64, arm, mips, mips64, mipsn32, powerpc, powerpc64 and sh have
cpu feature bits defined in linux for AT_HWCAP auxv entry, so expose
those in sys/auxv.h
it seems the mips hwcaps were never exposed to userspace neither
by linux nor by glibc, but that's most likely an oversight.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/auxv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/auxv.h b/include/sys/auxv.h index 6dcf9adc..ddccf57f 100644 --- a/include/sys/auxv.h +++ b/include/sys/auxv.h @@ -6,6 +6,7 @@ extern "C" { #endif #include <elf.h> +#include <bits/hwcap.h> unsigned long getauxval(unsigned long); |