aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
parentcced5e7f233b0fd24832a9818bf8166affef517f (diff)
downloadgcc-47089d42857b0d1ef412c6f9c4bc6ba8d05fc09b.zip
gcc-47089d42857b0d1ef412c6f9c4bc6ba8d05fc09b.tar.gz
gcc-47089d42857b0d1ef412c6f9c4bc6ba8d05fc09b.tar.bz2
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/alpha/linux.h2
-rw-r--r--gcc/config/rs6000/linux.h2
-rw-r--r--gcc/config/rs6000/linux64.h2
4 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9543eea..5531ad6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-28 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ PR bootstrap/44314
+ * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h
+ (OPTION_GLIBC): Define.
+
2010-05-28 Jakub Jelinek <jakub@redhat.com>
PR debug/41048
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index 0a32479..712d66d 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -64,6 +64,8 @@ along with GCC; see the file COPYING3. If not see
/* Define this so that all GNU/Linux targets handle the same pragmas. */
#define HANDLE_PRAGMA_PACK_PUSH_POP
+#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
+
/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 4831273..d41c0dc 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)
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index 502342c..39d440a 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -289,6 +289,8 @@ extern int dot_symbols;
process. */
#define OS_MISSING_POWERPC64 !TARGET_64BIT
+#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)