diff options
author | Richard Guenther <rguenther@suse.de> | 2007-01-19 11:06:56 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-01-19 11:06:56 +0000 |
commit | 006339cde4079778a003f75127e5bc7fbcde256d (patch) | |
tree | 9b2970cfe38e303f9d2cf7b3d12347e9babb016e /gcc/config | |
parent | 8ef4f42c93e00dc873de984525712f2aad5b7036 (diff) | |
download | gcc-006339cde4079778a003f75127e5bc7fbcde256d.zip gcc-006339cde4079778a003f75127e5bc7fbcde256d.tar.gz gcc-006339cde4079778a003f75127e5bc7fbcde256d.tar.bz2 |
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')
-rw-r--r-- | gcc/config/alpha/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/linux.h | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/linux64.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 3 |
6 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h index dcd3c65..a496f40 100644 --- a/gcc/config/alpha/linux.h +++ b/gcc/config/alpha/linux.h @@ -66,6 +66,9 @@ Boston, MA 02110-1301, USA. */ 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 #define LINK_GCC_C_SEQUENCE_SPEC \ diff --git a/gcc/config/linux.h b/gcc/config/linux.h index 59e3e85..0907837 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h @@ -126,4 +126,7 @@ Boston, MA 02110-1301, USA. */ is present in the 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 diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 3df356f..c6a6fda 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 \ diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 5c62a1d..5b954a9 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -285,6 +285,10 @@ extern int dot_symbols; #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 \ 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 |