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

Peter Bergner bergner@vnet.ibm.com
Thu Sep 24 01:23:00 GMT 2015


On Wed, 2015-09-23 at 23:45 +0000, Joseph Myers wrote:
> I'm not clear on whether your configure test is meant to be in the gcc/ 
> directory or in libgcc/.  In gcc/, it's not possible to do compile or link 
> tests for the target at all - all you can do is examine headers for the 
> target (which may or may not be available either).

I was thinking of a gcc/ configure test.  Can't I just add a test
using something likethe following?

  AC_LINK_IFELSE([
void *dummy = &__init_hwcapinfo;
int main(void) {return 0;}
], ..., ...)

Maybe even guarded by some "case $host in ... powerpc*-*-*)" test ?


Peter




More information about the Libc-alpha mailing list