[PATCHv3] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB

Peter Bergner bergner@vnet.ibm.com
Wed Sep 23 23:26:00 GMT 2015


On Wed, 2015-09-23 at 22:36 +0000, Joseph Myers wrote:
> On Wed, 23 Sep 2015, Peter Bergner wrote:
>> The idea is that applications will use the builtins supplied by GCC
>> (and other compilers) and will not access this info directly.
>> In GCC, my plan is to first add a configure test looking for the
>> symbol and if it doesn't exist, then I'll make the builtins return
> 
> (Please make that configure test respect --with-glibc-version so that the 
> results can be correct when a bootstrap compiler is configured without 
> pre-existing glibc.)

So you want the --with-glibc-version option to take precedence over a
configure time test that the __init_hwcapinfo (or whatever it ends up
being called) exists?  Meaning we won't even do the configure time test
if the user explicitly uses the --with-glibc-version option?

Peter





More information about the Libc-alpha mailing list