+2014-06-24 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
+ individual architectures.
+ * sysdeps/unix/sysv/linux/configure: Regenerated.
+ * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/i386/configure: New generated file.
+ * sysdeps/unix/sysv/linux/powerpc/configure.ac
+ (ldd_rewrite_script): Define variable.
+ * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
+ file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
+ generated file.
+ * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/s390/configure: New generated file.
+ * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/sh/configure: New generated file.
+ * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
+ * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
+
2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #17084]
# set arch_minimum_kernel already, let that override our defaults here.
# Note that we presume such a fragment has set libc_cv_gcc_unwind_find_fde
# if appropriate too.
-test -n "$arch_minimum_kernel" ||
-case "$machine" in
- i386*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- x86_64/x32)
- arch_minimum_kernel=3.4.0
- ;;
- powerpc/powerpc32*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- s390/s390-32)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- s390/s390-64)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- sh*)
- arch_minimum_kernel=2.6.32
- libc_cv_gcc_unwind_find_fde=yes
- ;;
- sparc/sparc64*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- sparc*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- *)
- arch_minimum_kernel=2.6.32
- ;;
-esac
+test -n "$arch_minimum_kernel" || arch_minimum_kernel=2.6.32
if test -n "$minimum_kernel"; then
user_version=$((`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`))
# One Linux we use ldconfig.
use_ldconfig=yes
-# We need some extensions to the `ldd' script.
-
-case "$machine" in
- i[3456]86*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
- ;;
- s390*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
- ;;
- sparc*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
- ;;
- x86_64*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
- ;;
- powerpc*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
- ;;
- *)
- ;;
-esac
-
-
if test $host = $build; then
# If $prefix/include/{net,scsi} are symlinks, make install will
# clobber what they're linked to (probably a kernel tree).
# set arch_minimum_kernel already, let that override our defaults here.
# Note that we presume such a fragment has set libc_cv_gcc_unwind_find_fde
# if appropriate too.
-test -n "$arch_minimum_kernel" ||
-case "$machine" in
- i386*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- x86_64/x32)
- arch_minimum_kernel=3.4.0
- ;;
- powerpc/powerpc32*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- s390/s390-32)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- s390/s390-64)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- sh*)
- arch_minimum_kernel=2.6.32
- libc_cv_gcc_unwind_find_fde=yes
- ;;
- sparc/sparc64*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- sparc*)
- libc_cv_gcc_unwind_find_fde=yes
- arch_minimum_kernel=2.6.32
- ;;
- *)
- arch_minimum_kernel=2.6.32
- ;;
-esac
+test -n "$arch_minimum_kernel" || arch_minimum_kernel=2.6.32
if test -n "$minimum_kernel"; then
changequote(,)
user_version=$((`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`))
# One Linux we use ldconfig.
use_ldconfig=yes
-# We need some extensions to the `ldd' script.
-changequote(,)
-case "$machine" in
- i[3456]86*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
- ;;
- s390*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
- ;;
- sparc*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
- ;;
- x86_64*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
- ;;
- powerpc*)
- ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
- ;;
- *)
- ;;
-esac
-changequote([,])
-
if test $host = $build; then
# If $prefix/include/{net,scsi} are symlinks, make install will
# clobber what they're linked to (probably a kernel tree).
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/i386.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/i386.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
as_fn_error $? "this configuration requires -mlong-double-128 IBM extended format support" "$LINENO" 5
fi
fi
+
+ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
AC_MSG_ERROR([this configuration requires -mlong-double-128 IBM extended format support])
fi
fi
+
+ldd_rewrite_script=sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/powerpc32.
+
+libc_cv_gcc_unwind_find_fde=yes
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/powerpc/powerpc32.
+
+libc_cv_gcc_unwind_find_fde=yes
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/s390.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/s390.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/sh.
+
+libc_cv_gcc_unwind_find_fde=yes
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/sh.
+
+libc_cv_gcc_unwind_find_fde=yes
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/sparc.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/sparc.
+
+libc_cv_gcc_unwind_find_fde=yes
+ldd_rewrite_script=sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed
--- /dev/null
+# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/x86_64.
+
+ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
--- /dev/null
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/x86_64.
+
+ldd_rewrite_script=sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed