add bits/hwcap.h and include it in sys/auxv.h
authorSzabolcs Nagy <nsz@port70.net>
Sun, 9 Oct 2016 18:42:02 +0000 (20:42 +0200)
committerRich Felker <dalias@aerifal.cx>
Thu, 20 Oct 2016 05:28:25 +0000 (01:28 -0400)
commitfe39aaae0eafdab3340ea9a4c4b275c3528b4d75
tree2055dff0982e4ab83e1615c1c8cb50ca1e3e10f7
parent5a05f67599ff06f9255aa4119cfecb85575d6e20
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.
arch/aarch64/bits/hwcap.h [new file with mode: 0644]
arch/arm/bits/hwcap.h [new file with mode: 0644]
arch/generic/bits/hwcap.h [new file with mode: 0644]
arch/mips/bits/hwcap.h [new file with mode: 0644]
arch/mips64/bits/hwcap.h [new file with mode: 0644]
arch/mipsn32/bits/hwcap.h [new file with mode: 0644]
arch/powerpc/bits/hwcap.h [new file with mode: 0644]
arch/powerpc64/bits/hwcap.h [new file with mode: 0644]
arch/sh/bits/hwcap.h [new file with mode: 0644]
include/sys/auxv.h