summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux.h
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2010-05-28 15:03:23 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2010-05-28 15:03:23 +0000
commit47089d42857b0d1ef412c6f9c4bc6ba8d05fc09b (patch)
tree9599c3b25ccc12bcc67921f003cf06a6b2198747 /gcc/config/rs6000/linux.h
parentcced5e7f233b0fd24832a9818bf8166affef517f (diff)
downloadgcc-47089d42857b0d1ef412c6f9c4bc6ba8d05fc09b.tar.gz
re PR bootstrap/44314 (Powerpc64-unknown-linux-gnu bootstrap broken)
PR bootstrap/44314 * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h (OPTION_GLIBC): Define. From-SVN: r159978
Diffstat (limited to 'gcc/config/rs6000/linux.h')
-rw-r--r--gcc/config/rs6000/linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 4831273c50d..d41c0dc56ef 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -30,6 +30,8 @@
/* We use glibc _mcount for profiling. */
#define NO_PROFILE_COUNTERS 1
+#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
+
/* glibc has float and long double forms of math functions. */
#undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)