[patch] getauxval.3 correct AT_HWCAP result description

Steven Munroe munroesj@linux.vnet.ibm.com
Thu Aug 4 20:35:00 GMT 2016


On Wed, 2016-07-13 at 09:13 +0100, Szabolcs Nagy wrote:
> On 12/07/16 21:24, Michael Kerrisk (man-pages) wrote:
> >>  .BR AT_HWCAP
> >> -A pointer to a multibyte mask of bits whose settings
> >> +A four byte long bit-mask whose settings
> >>  indicate detailed processor capabilities.
> 
> why is it four byte long?
> 
> it's a long and the target abi decides how many
> bits of that is used.
> 

For platforms that support 32- and 64-bit modes, maintaining AT_HWCAP at
32-bits simplifies code portability.




More information about the Libc-alpha mailing list