diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dad08e4cc2b..d1ed45caeab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-12-17 Fred Fish + + * configure.in: Remove code to examine linker scripts and set + HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES. + * configure, config.in: Regenerate. + 2003-12-16 Mark Mitchell PR c++/12218 diff --git a/gcc/config.in b/gcc/config.in index 72aec728470..9a5633ba2ba 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -517,9 +517,6 @@ /* Define if your linker supports -pie option. */ #undef HAVE_LD_PIE -/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */ -#undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES - /* Define to PREFIX/include if cpp should also search that directory. */ #undef PREFIX_INCLUDE_DIR diff --git a/gcc/configure b/gcc/configure index 94f0f676b8c..e90284e29c0 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7530,39 +7530,6 @@ EOF fi echo "$ac_t""$gcc_cv_ld_pie" 1>&6 -# Miscellaneous target-specific checks. -case "$target" in - mips*-*-*) - echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6 -echo "configure:7538: checking whether libgloss uses STARTUP directives consistently" >&5 - gcc_cv_mips_libgloss_startup=no - gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss - if test "x$exec_prefix" = xNONE; then - if test "x$prefix" = xNONE; then - test_prefix=/usr/local - else - test_prefix=$prefix - fi - else - test_prefix=$exec_prefix - fi - for f in $gcc_cv_libgloss_srcdir/mips/idt.ld $test_prefix/$target_noncanonical/lib/idt.ld - do - if grep '^STARTUP' $f > /dev/null 2>&1; then - gcc_cv_mips_libgloss_startup=yes - break - fi - done - if test x"$gcc_cv_mips_libgloss_startup" = xyes; then - cat >> confdefs.h <<\EOF -#define HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES 1 -EOF - - fi - echo "$ac_t""$gcc_cv_mips_libgloss_startup" 1>&6 - ;; -esac - if test x$with_sysroot = x && test x$host = x$target \ && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then cat >> confdefs.h <&6 -echo "configure:7740: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:7707: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" diff --git a/gcc/configure.in b/gcc/configure.in index 02a7ce27fb5..1c2efa64348 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2541,36 +2541,6 @@ if test x"$gcc_cv_ld_pie" = xyes; then fi AC_MSG_RESULT($gcc_cv_ld_pie) -# Miscellaneous target-specific checks. -case "$target" in - mips*-*-*) - AC_MSG_CHECKING(whether libgloss uses STARTUP directives consistently) - gcc_cv_mips_libgloss_startup=no - gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss - if test "x$exec_prefix" = xNONE; then - if test "x$prefix" = xNONE; then - test_prefix=/usr/local - else - test_prefix=$prefix - fi - else - test_prefix=$exec_prefix - fi - for f in $gcc_cv_libgloss_srcdir/mips/idt.ld $test_prefix/$target_noncanonical/lib/idt.ld - do - if grep '^STARTUP' $f > /dev/null 2>&1; then - gcc_cv_mips_libgloss_startup=yes - break - fi - done - if test x"$gcc_cv_mips_libgloss_startup" = xyes; then - AC_DEFINE(HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES, 1, - [Define if your MIPS libgloss linker scripts consistently include STARTUP directives.]) - fi - AC_MSG_RESULT($gcc_cv_mips_libgloss_startup) - ;; -esac - if test x$with_sysroot = x && test x$host = x$target \ && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include",