From 006339cde4079778a003f75127e5bc7fbcde256d Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 19 Jan 2007 11:06:56 +0000 Subject: tm.texi (TARGET_HAS_SINCOS): Document new target macro. 2007-01-19 Richard Guenther * doc/tm.texi (TARGET_HAS_SINCOS): Document new target macro. * defaults.h (TARGET_HAS_SINCOS): Default to off. * config/linux.h (TARGET_HAS_SINCOS): Set to on if we have glibc. * config/alpha/linux.h (TARGET_HAS_SINCOS): Likewise. * config/sparc/linux.h (TARGET_HAS_SINCOS): Likewise. * config/sparc/linux64.h (TARGET_HAS_SINCOS): Likewise. * config/rs6000/linux.h (TARGET_HAS_SINCOS): Likewise. * config/rs6000/linux64.h (TARGET_HAS_SINCOS): Likewise. From-SVN: r120952 --- gcc/config/sparc/linux.h | 3 +++ gcc/config/sparc/linux64.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'gcc/config/sparc') diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 5af67a6..7c50d3c 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -215,6 +215,9 @@ do { \ runtime library. */ #define TARGET_C99_FUNCTIONS (OPTION_GLIBC) +/* Whether we have sincos that follows the GNU extension. */ +#define TARGET_HAS_SINCOS (OPTION_GLIBC) + #define TARGET_POSIX_IO #undef LINK_GCC_C_SEQUENCE_SPEC diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index b0ddf4b..60bda62 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -347,6 +347,9 @@ do { \ runtime library. */ #define TARGET_C99_FUNCTIONS (OPTION_GLIBC) +/* Whether we have sincos that follows the GNU extension. */ +#define TARGET_HAS_SINCOS (OPTION_GLIBC) + #define TARGET_POSIX_IO #undef LINK_GCC_C_SEQUENCE_SPEC -- cgit v1.1