On Thu, 13 Dec 2012, Alexander Ivchenko wrote: > Could you please take a look at the attached patch that implements > the target libc_has_function hook? I didn't change so far the default presence > of c99, but rather tried to preserve the current behaviour of > TARGET_C99_FUNCTIONS.
It looks like a plausible starting point, given the changed default, coding style fixes (you're missing spaces before '('), documentation text moved from tm.texi.in to target.def, removal of TARGET_C99_FUNCTIONS documentation, poisoning of TARGET_C99_FUNCTIONS in system.h and moving the Linux implementation of the hook from builtins.c to some Linux-specific file since you can't assume OPTION_GLIBC or OPTION_BIONIC are defined for other targets. -- Joseph S. Myers jos...@codesourcery.com