This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

From: Richard Henderson <>
Date: Mon, 14 May 2012 15:28:51 -0700

> On 05/14/12 13:41, David Miller wrote:
>> From: Richard Henderson <>
>> 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.

Some day it may do so, either directly, or indirectly.  Binutils, and
especially gdb, being interested in hwcap values is very much not out
of the question.

The point is that you are introducing this into the global namespace,
and there is a known conflict with a source tree we can do something
about.  So we should fix that first.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]