From ca8c3b37127de3e245375f9dec492e913b675aeb Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 17 Jun 1998 22:32:50 +0000 Subject: [PATCH] * configure.in: Don't turn on collect2 unconditionally. From-SVN: r20551 --- gcc/ChangeLog | 4 ++++ gcc/configure | 10 ++++++---- gcc/configure.in | 8 +++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d68654bad5b..f3b12f2307d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 17 22:28:48 1998 Jason Merrill + + * configure.in: Don't turn on collect2 unconditionally. + Wed Jun 17 20:20:48 1998 Mark Mitchell * cse.c (cse_basic_block): Don't include NOTE insns in the count diff --git a/gcc/configure b/gcc/configure index 1390118fbaa..4c2982f0b5d 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4765,9 +4765,11 @@ for machine in $build $host $target; do # No need for collect2 if we have the GNU linker. # Actually, there is now; GNU ld doesn't handle the EH info or # collecting for shared libraries. - # Instead we always turn on use_collect2; it's a rather heavyweight - # solution to the problem, but it works. - use_collect2=yes + #case x$gnu_ld in + #xyes) + # use_collect2= + # ;; + #esac # Save data on machine being used to compile GCC in build_xm_file. # Save data on host machine in vars host_xm_file and host_xmake_file. @@ -5131,7 +5133,7 @@ fi # Figure out what assembler alignment features are present. echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6 -echo "configure:5135: checking assembler alignment features" >&5 +echo "configure:5137: checking assembler alignment features" >&5 gcc_cv_as= gcc_cv_as_alignment_features= if [ -x as$host_exeext ]; then diff --git a/gcc/configure.in b/gcc/configure.in index 377e54521b4..aae12ba5905 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2921,9 +2921,11 @@ for machine in $build $host $target; do # No need for collect2 if we have the GNU linker. # Actually, there is now; GNU ld doesn't handle the EH info or # collecting for shared libraries. - # Instead we always turn on use_collect2; it's a rather heavyweight - # solution to the problem, but it works. - use_collect2=yes + #case x$gnu_ld in + #xyes) + # use_collect2= + # ;; + #esac # Save data on machine being used to compile GCC in build_xm_file. # Save data on host machine in vars host_xm_file and host_xmake_file. -- 2.30.2