Commit 47089d42 by Maxim Kuvyrkov Committed by Maxim Kuvyrkov

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
parent cced5e7f
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> 2010-05-28 Jakub Jelinek <jakub@redhat.com>
PR debug/41048 PR debug/41048
......
...@@ -64,6 +64,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -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 this so that all GNU/Linux targets handle the same pragmas. */
#define HANDLE_PRAGMA_PACK_PUSH_POP #define HANDLE_PRAGMA_PACK_PUSH_POP
#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
/* Determine whether the entire c99 runtime is present in the /* Determine whether the entire c99 runtime is present in the
runtime library. */ runtime library. */
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC) #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
/* We use glibc _mcount for profiling. */ /* We use glibc _mcount for profiling. */
#define NO_PROFILE_COUNTERS 1 #define NO_PROFILE_COUNTERS 1
#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
/* glibc has float and long double forms of math functions. */ /* glibc has float and long double forms of math functions. */
#undef TARGET_C99_FUNCTIONS #undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC) #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
......
...@@ -289,6 +289,8 @@ extern int dot_symbols; ...@@ -289,6 +289,8 @@ extern int dot_symbols;
process. */ process. */
#define OS_MISSING_POWERPC64 !TARGET_64BIT #define OS_MISSING_POWERPC64 !TARGET_64BIT
#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
/* glibc has float and long double forms of math functions. */ /* glibc has float and long double forms of math functions. */
#undef TARGET_C99_FUNCTIONS #undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS (OPTION_GLIBC) #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment