summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-01-19 11:06:56 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-01-19 11:06:56 +0000
commit006339cde4079778a003f75127e5bc7fbcde256d (patch)
tree9b2970cfe38e303f9d2cf7b3d12347e9babb016e /gcc/config/rs6000/linux.h
parent8ef4f42c93e00dc873de984525712f2aad5b7036 (diff)
downloadgcc-006339cde4079778a003f75127e5bc7fbcde256d.tar.gz
tm.texi (TARGET_HAS_SINCOS): Document new target macro.
2007-01-19 Richard Guenther <rguenther@suse.de> * 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
Diffstat (limited to 'gcc/config/rs6000/linux.h')
-rw-r--r--gcc/config/rs6000/linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 3df356fca1a..c6a6fda0068 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -35,6 +35,10 @@
#undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
+/* Whether we have sincos that follows the GNU extension. */
+#undef TARGET_HAS_SINCOS
+#define TARGET_HAS_SINCOS (OPTION_GLIBC)
+
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \