From: mkuvyrkov Date: Fri, 28 May 2010 15:03:23 +0000 (+0000) Subject: PR bootstrap/44314 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c923aba81bb57c9d93c9e39e520bab16f71aa708;p=thirdparty%2Fgcc.git PR bootstrap/44314 * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h (OPTION_GLIBC): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159978 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9543eea61487..5531ad6c24fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-05-28 Maxim Kuvyrkov + + PR bootstrap/44314 + * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h + (OPTION_GLIBC): Define. + 2010-05-28 Jakub Jelinek PR debug/41048 diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h index 0a32479d5d7e..712d66d8656c 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 4831273c50d7..d41c0dc56ef5 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 502342c3de6e..39d440a01c34 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)