This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.19-683-g92072d5


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  92072d57c6754a4874f673439bc2b5a30f4c8918 (commit)
      from  3e239be647036760563e62639ea574a2c55b9191 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=92072d57c6754a4874f673439bc2b5a30f4c8918

commit 92072d57c6754a4874f673439bc2b5a30f4c8918
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 25 17:54:44 2014 +0000

    Remove BROKEN_PPC_ASM_CR0 configure test.
    
    One piece of architecture-specific code in the main configure.ac is
    the powerpc test that can define BROKEN_PPC_ASM_CR0.  There's no need
    to move this to a sysdeps configure script, or to work out what bug it
    was testing in May 1998 to see if it's still relevant, since nothing
    in the source tree now uses the results of this test.  Thus, this
    patch just removes the test in question.
    
    Not tested.
    
    	* configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
    	* configure: Regenerated.
    	* config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.

diff --git a/ChangeLog b/ChangeLog
index 7ba560d..3a8869f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
 
+	* configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
+	* configure: Regenerated.
+	* config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
+
 	* configure.ac (base_machine): Do not set specially for particular
 	machines here.
 	* configure: Regenerated.
diff --git a/config.h.in b/config.h.in
index a9ff1e3..38d4aa4 100644
--- a/config.h.in
+++ b/config.h.in
@@ -73,10 +73,6 @@
    (gcc on ix86 only).  */
 #undef	USE_REGPARMS
 
-/* Defined on PowerPC if the GCC being used has a problem with clobbering
-   certain registers (CR0, MQ, CTR, LR) in asm statements.  */
-#undef	BROKEN_PPC_ASM_CR0
-
 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
 #undef  HAVE_GCC_GOTDATA
 
diff --git a/configure b/configure
index e7ffb83..34bcd53 100755
--- a/configure
+++ b/configure
@@ -6596,40 +6596,6 @@ if test $libc_cv_gcc_exceptions = yes; then
   exceptions=-fexceptions
 fi
 
-if test "$host_cpu" = powerpc ; then
-# Check for a bug present in at least versions 2.8.x of GCC
-# and versions 1.0.x of EGCS.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clobbering cr0 causes problems" >&5
-$as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
-if ${libc_cv_c_asmcr0_bug+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int tester(int x) { asm ("" : : : "cc"); return x & 123; }
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  libc_cv_c_asmcr0_bug='no'
-else
-  libc_cv_c_asmcr0_bug='yes'
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_c_asmcr0_bug" >&5
-$as_echo "$libc_cv_c_asmcr0_bug" >&6; }
-if test "$libc_cv_c_asmcr0_bug" != 'no'; then
-  $as_echo "#define BROKEN_PPC_ASM_CR0 1" >>confdefs.h
-
-fi
-fi
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
 $as_echo_n "checking for __builtin_memset... " >&6; }
 if ${libc_cv_gcc_builtin_memset+:} false; then :
diff --git a/configure.ac b/configure.ac
index 2d5b902..589b3d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1763,18 +1763,6 @@ if test $libc_cv_gcc_exceptions = yes; then
 fi
 AC_SUBST(exceptions)dnl
 
-if test "$host_cpu" = powerpc ; then
-# Check for a bug present in at least versions 2.8.x of GCC
-# and versions 1.0.x of EGCS.
-AC_CACHE_CHECK(whether clobbering cr0 causes problems,libc_cv_c_asmcr0_bug,[dnl
-AC_TRY_COMPILE([int tester(int x) { asm ("" : : : "cc"); return x & 123; }],,
-	       libc_cv_c_asmcr0_bug='no',
-	       libc_cv_c_asmcr0_bug='yes')])
-if test "$libc_cv_c_asmcr0_bug" != 'no'; then
-  AC_DEFINE(BROKEN_PPC_ASM_CR0)
-fi
-fi
-
 AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl
 cat > conftest.c <<\EOF
 void zero (void *x)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    4 ++++
 config.h.in  |    4 ----
 configure    |   34 ----------------------------------
 configure.ac |   12 ------------
 4 files changed, 4 insertions(+), 50 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]