diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 18 | ||||
-rw-r--r-- | config/futex.m4 | 64 | ||||
-rw-r--r-- | config/mh-ppc-darwin | 3 | ||||
-rw-r--r-- | config/mt-mips-elfoabi | 4 | ||||
-rw-r--r-- | config/mt-sde | 4 |
5 files changed, 6 insertions, 87 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 4ef6a0362..84db8b2f3 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,21 +1,3 @@ -2008-02-20 Uros Bizjak <ubizjak@gmail.com> - - * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =. - -2008-02-20 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/32009 - * mh-ppc-darwin (BOOT_CFLAGS): Reenable. - -2008-01-08 Jakub Jelinek <jakub@redhat.com> - - * futex.m4: New file. - -2007-12-06 Richard Sandiford <rsandifo@nildram.co.uk> - - * mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =. - * mt-mips-elfoabi: Likewise. - 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> * tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls. diff --git a/config/futex.m4 b/config/futex.m4 deleted file mode 100644 index e95144dd1..000000000 --- a/config/futex.m4 +++ /dev/null @@ -1,64 +0,0 @@ -dnl ---------------------------------------------------------------------- -dnl This whole bit snagged from libgomp. - -dnl -dnl GCC_LINUX_FUTEX -dnl (SHELL-CODE_HANDLER) -dnl -AC_DEFUN([GCC_LINUX_FUTEX],[dnl -GCC_ENABLE(linux-futex,default, ,[use the Linux futex system call], - permit yes|no|default) -case "$target" in - *-linux*) - case "$enable_linux_futex" in - default) - # If headers don't have gettid/futex syscalls definition, then - # default to no, otherwise there will be compile time failures. - # Otherwise, default to yes. If we don't detect we are - # compiled/linked against NPTL and not cross-compiling, check - # if programs are run by default against NPTL and if not, issue - # a warning. - enable_linux_futex=no - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [#include <sys/syscall.h> - int lk;], - [syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);])], - [save_LIBS="$LIBS" - LIBS="-lpthread $LIBS" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [#ifndef _GNU_SOURCE - #define _GNU_SOURCE 1 - #endif - #include <pthread.h> - pthread_t th; void *status;], - [pthread_tryjoin_np (th, &status);])],[enable_linux_futex=yes], - [if test x$cross_compiling = xno; then - if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \ - | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else - AC_MSG_WARN([The kernel might not support futex or gettid syscalls. -If so, please configure with --disable-linux-futex]) - fi - fi - enable_linux_futex=yes]) - LIBS="$save_LIBS"]) - ;; - yes) - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [#include <sys/syscall.h> - int lk;], - [syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);])],[], - [AC_MSG_ERROR([SYS_gettid and SYS_futex required for --enable-linux-futex])]) - ;; - esac - ;; - *) - enable_linux_futex=no - ;; -esac -if test x$enable_linux_futex = xyes; then - $1 -fi -]) diff --git a/config/mh-ppc-darwin b/config/mh-ppc-darwin index 66f68b664..8e64791f6 100644 --- a/config/mh-ppc-darwin +++ b/config/mh-ppc-darwin @@ -2,4 +2,5 @@ # position-independent-code -- the usual default on Darwin. This fix speeds # compiles by 3-5%. -BOOT_CFLAGS += -mdynamic-no-pic +# Broken because of PR32009. +# BOOT_CFLAGS=-g -O2 -mdynamic-no-pic diff --git a/config/mt-mips-elfoabi b/config/mt-mips-elfoabi index 988ca1eaa..49c8ecd32 100644 --- a/config/mt-mips-elfoabi +++ b/config/mt-mips-elfoabi @@ -2,5 +2,5 @@ # MIPS16 and non-MIPS16 code, but the libraries are all non-MIPS16. # Add -minterlink-mips16 so that the libraries can be used with both # ISA modes. -CFLAGS_FOR_TARGET += -minterlink-mips16 -CXXFLAGS_FOR_TARGET += -minterlink-mips16 +CFLAGS_FOR_TARGET = -minterlink-mips16 +CXXFLAGS_FOR_TARGET = -minterlink-mips16 diff --git a/config/mt-sde b/config/mt-sde index cb204203d..775e50dd7 100644 --- a/config/mt-sde +++ b/config/mt-sde @@ -6,5 +6,5 @@ # has two purposes: it allows libraries to be used in situations where # $gp != our _gp, and it allows them to be built with -G8 while # retaining link compability with -G0 and -G4. -CFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt -CXXFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt +CFLAGS_FOR_TARGET = -Os -minterlink-mips16 -mcode-xonly -mno-gpopt +CXXFLAGS_FOR_TARGET = -Os -minterlink-mips16 -mcode-xonly -mno-gpopt |