aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-25 17:54:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-25 17:54:44 +0000
commit92072d57c6754a4874f673439bc2b5a30f4c8918 (patch)
treecd13c0c09c722a92dd2423e093971a734ba14197 /configure
parent3e239be647036760563e62639ea574a2c55b9191 (diff)
downloadglibc-92072d57c6754a4874f673439bc2b5a30f4c8918.zip
glibc-92072d57c6754a4874f673439bc2b5a30f4c8918.tar.gz
glibc-92072d57c6754a4874f673439bc2b5a30f4c8918.tar.bz2
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure34
1 files changed, 0 insertions, 34 deletions
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 :