[PATCH 5/7] sparc: Add <bits/hwcap.h>

Richard Henderson rth@twiddle.net
Mon May 14 22:29:00 GMT 2012


On 05/14/12 13:41, David Miller wrote:
> From: Richard Henderson <rth@twiddle.net>
> Date: Mon, 14 May 2012 09:40:58 -0700
> 
>> 	* sysdeps/sparc/bits/hwcap.h: New file, split from ...
>> 	* sysdeps/sparc/sysdep.h: ... here.  Use <bits/hwcap.h>.
> 
> If you put this into userspace, you're going to break the binutils
> build, which defines the ELF HWCAP bits as used by Solaris and
> thus now encoded in the the HWCAP section of Sparc ELF binaries
> when appropriate.
> 
> These values are different from the ones we advertise in the Linux
> kernel.

Only if binutils were so foolish as to include the new header.


r~



More information about the Libc-alpha mailing list