This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

RFA: Fix block profiling for --with-newlib --with-headers configurations


All the -fprofile-arcs / -fbranch-probabilities tests
fail for sh-elf because libgcov contains only dummy
functions.  When you are doing a build in a unified tree
with newlib, there is no reason not to use the headers
from newlib.  You can specify explicitly that you want to use
the headers by --with-headers[=yes] , but gcc/configure.in
still sets inhibit_libc when you are building newlib.  I have
attached a patch that makes configure not set inhibit_libc
when --with-headers is given on the configure line.
This fixes the profiling regressions for sh-elf when
using a unified tree build with --with-newlib --with-headers .

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
2003-05-23  J"orn Rennecke <joern.rennecke@superh.com>

	* configure.in (inhibit_libc): Don't define when configuring
	with --with-newlib --with-headers.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.668
diff -p -r1.668 configure.in
*** configure.in	12 May 2003 22:30:24 -0000	1.668
--- configure.in	23 May 2003 15:40:19 -0000
*************** fi
*** 1415,1426 ****
  # have its own set of headers then define
  # inhibit_libc
  
! # If this is using newlib, then define inhibit_libc in LIBGCC2_CFLAGS.
  # This prevents libgcc2 from containing any code which requires libc
  # support.
  inhibit_libc=
! if { test x$host != x$target && test "x$with_headers" = x &&
!      test "x$with_sysroot" = x ; } || test x$with_newlib = xyes ; then
         inhibit_libc=-Dinhibit_libc
  fi
  AC_SUBST(inhibit_libc)
--- 1415,1428 ----
  # have its own set of headers then define
  # inhibit_libc
  
! # If this is using newlib, without having the headers available now,
! # then define inhibit_libc in LIBGCC2_CFLAGS.
  # This prevents libgcc2 from containing any code which requires libc
  # support.
  inhibit_libc=
! if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
!        test x$with_newlib = xyes ; } &&
!      test "x$with_headers" = x ; then
         inhibit_libc=-Dinhibit_libc
  fi
  AC_SUBST(inhibit_libc)
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.684
diff -p -r1.684 configure
*** configure	12 May 2003 22:30:26 -0000	1.684
--- configure	23 May 2003 15:40:19 -0000
*************** fi
*** 7391,7402 ****
  # have its own set of headers then define
  # inhibit_libc
  
! # If this is using newlib, then define inhibit_libc in LIBGCC2_CFLAGS.
  # This prevents libgcc2 from containing any code which requires libc
  # support.
  inhibit_libc=
! if { test x$host != x$target && test "x$with_headers" = x &&
!      test "x$with_sysroot" = x ; } || test x$with_newlib = xyes ; then
         inhibit_libc=-Dinhibit_libc
  fi
  
--- 7391,7404 ----
  # have its own set of headers then define
  # inhibit_libc
  
! # If this is using newlib, without having the headers available now,
! # then define inhibit_libc in LIBGCC2_CFLAGS.
  # This prevents libgcc2 from containing any code which requires libc
  # support.
  inhibit_libc=
! if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
!        test x$with_newlib = xyes ; } &&
!      test "x$with_headers" = x ; then
         inhibit_libc=-Dinhibit_libc
  fi
  
*************** esac
*** 7459,7465 ****
  # build->target assembler and hope that it will have the same features
  # as the host->target assembler we'll be using.
  echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
! echo "configure:7463: checking what assembler to use" >&5
  in_tree_gas=no
  gcc_cv_as=
  gcc_cv_gas_major_version=
--- 7461,7467 ----
  # build->target assembler and hope that it will have the same features
  # as the host->target assembler we'll be using.
  echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
! echo "configure:7465: checking what assembler to use" >&5
  in_tree_gas=no
  gcc_cv_as=
  gcc_cv_gas_major_version=
*************** esac
*** 7570,7576 ****
  # build->target linker and hope that it will have the same features
  # as the host->target linker we'll be using.
  echo $ac_n "checking what linker to use""... $ac_c" 1>&6
! echo "configure:7574: checking what linker to use" >&5
  in_tree_ld=no
  gcc_cv_ld=
  gcc_cv_gld_major_version=
--- 7572,7578 ----
  # build->target linker and hope that it will have the same features
  # as the host->target linker we'll be using.
  echo $ac_n "checking what linker to use""... $ac_c" 1>&6
! echo "configure:7576: checking what linker to use" >&5
  in_tree_ld=no
  gcc_cv_ld=
  gcc_cv_gld_major_version=
*************** esac
*** 7673,7679 ****
  # Figure out what nm we will be using.
  gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
  echo $ac_n "checking what nm to use""... $ac_c" 1>&6
! echo "configure:7677: checking what nm to use" >&5
  in_tree_nm=no
  if test -x nm$host_exeext; then
  	gcc_cv_nm=./nm$host_exeext
--- 7675,7681 ----
  # Figure out what nm we will be using.
  gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
  echo $ac_n "checking what nm to use""... $ac_c" 1>&6
! echo "configure:7679: checking what nm to use" >&5
  in_tree_nm=no
  if test -x nm$host_exeext; then
  	gcc_cv_nm=./nm$host_exeext
*************** esac
*** 7696,7702 ****
  
  # Figure out what objdump we will be using.
  echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
! echo "configure:7700: checking what objdump to use" >&5
  in_tree_objdump=no
  if test -x objdump$host_exeext; then
  	gcc_cv_objdump=./objdump$host_exeext
--- 7698,7704 ----
  
  # Figure out what objdump we will be using.
  echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
! echo "configure:7702: checking what objdump to use" >&5
  in_tree_objdump=no
  if test -x objdump$host_exeext; then
  	gcc_cv_objdump=./objdump$host_exeext
*************** esac
*** 7721,7727 ****
  
  # Figure out what assembler alignment features are present.
  echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
! echo "configure:7725: checking assembler alignment features" >&5
  gcc_cv_as_alignment_features=none
  if test $in_tree_gas = yes; then
    # Gas version 2.6 and later support for .balign and .p2align.
--- 7723,7729 ----
  
  # Figure out what assembler alignment features are present.
  echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
! echo "configure:7727: checking assembler alignment features" >&5
  gcc_cv_as_alignment_features=none
  if test $in_tree_gas = yes; then
    # Gas version 2.6 and later support for .balign and .p2align.
*************** fi
*** 7782,7788 ****
  echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
  
  echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
! echo "configure:7786: checking assembler subsection support" >&5
  gcc_cv_as_subsections=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 7784,7790 ----
  echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
  
  echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
! echo "configure:7788: checking assembler subsection support" >&5
  gcc_cv_as_subsections=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 7831,7837 ****
  echo "$ac_t""$gcc_cv_as_subsections" 1>&6
  
  echo $ac_n "checking assembler weak support""... $ac_c" 1>&6
! echo "configure:7835: checking assembler weak support" >&5
  gcc_cv_as_weak=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 7833,7839 ----
  echo "$ac_t""$gcc_cv_as_subsections" 1>&6
  
  echo $ac_n "checking assembler weak support""... $ac_c" 1>&6
! echo "configure:7837: checking assembler weak support" >&5
  gcc_cv_as_weak=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 7861,7867 ****
  echo "$ac_t""$gcc_cv_as_weak" 1>&6
  
  echo $ac_n "checking assembler hidden support""... $ac_c" 1>&6
! echo "configure:7865: checking assembler hidden support" >&5
  gcc_cv_as_hidden=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 7863,7869 ----
  echo "$ac_t""$gcc_cv_as_weak" 1>&6
  
  echo $ac_n "checking assembler hidden support""... $ac_c" 1>&6
! echo "configure:7867: checking assembler hidden support" >&5
  gcc_cv_as_hidden=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** esac
*** 7942,7948 ****
  
  
  echo $ac_n "checking assembler leb128 support""... $ac_c" 1>&6
! echo "configure:7946: checking assembler leb128 support" >&5
  gcc_cv_as_leb128=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 7944,7950 ----
  
  
  echo $ac_n "checking assembler leb128 support""... $ac_c" 1>&6
! echo "configure:7948: checking assembler leb128 support" >&5
  gcc_cv_as_leb128=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 7996,8002 ****
  echo "$ac_t""$gcc_cv_as_leb128" 1>&6
  
  echo $ac_n "checking assembler eh_frame optimization""... $ac_c" 1>&6
! echo "configure:8000: checking assembler eh_frame optimization" >&5
  gcc_cv_as_eh_frame=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 7998,8004 ----
  echo "$ac_t""$gcc_cv_as_leb128" 1>&6
  
  echo $ac_n "checking assembler eh_frame optimization""... $ac_c" 1>&6
! echo "configure:8002: checking assembler eh_frame optimization" >&5
  gcc_cv_as_eh_frame=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 8086,8092 ****
  echo "$ac_t""$gcc_cv_as_eh_frame" 1>&6
  
  echo $ac_n "checking assembler section merging support""... $ac_c" 1>&6
! echo "configure:8090: checking assembler section merging support" >&5
  gcc_cv_as_shf_merge=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 8088,8094 ----
  echo "$ac_t""$gcc_cv_as_eh_frame" 1>&6
  
  echo $ac_n "checking assembler section merging support""... $ac_c" 1>&6
! echo "configure:8092: checking assembler section merging support" >&5
  gcc_cv_as_shf_merge=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 8118,8124 ****
  echo "$ac_t""$gcc_cv_as_shf_merge" 1>&6
  
  echo $ac_n "checking assembler thread-local storage support""... $ac_c" 1>&6
! echo "configure:8122: checking assembler thread-local storage support" >&5
  gcc_cv_as_tls=no
  conftest_s=
  tls_first_major=
--- 8120,8126 ----
  echo "$ac_t""$gcc_cv_as_shf_merge" 1>&6
  
  echo $ac_n "checking assembler thread-local storage support""... $ac_c" 1>&6
! echo "configure:8124: checking assembler thread-local storage support" >&5
  gcc_cv_as_tls=no
  conftest_s=
  tls_first_major=
*************** case "$target" in
*** 8323,8329 ****
    # All TARGET_ABI_OSF targets.
    alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)
      echo $ac_n "checking assembler supports explicit relocations""... $ac_c" 1>&6
! echo "configure:8327: checking assembler supports explicit relocations" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_explicit_relocs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8325,8331 ----
    # All TARGET_ABI_OSF targets.
    alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)
      echo $ac_n "checking assembler supports explicit relocations""... $ac_c" 1>&6
! echo "configure:8329: checking assembler supports explicit relocations" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_explicit_relocs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8376,8382 ****
      ;;
    sparc*-*-*)
      echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
! echo "configure:8380: checking assembler .register pseudo-op support" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8378,8384 ----
      ;;
    sparc*-*-*)
      echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
! echo "configure:8382: checking assembler .register pseudo-op support" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8404,8410 ****
      fi
  
      echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
! echo "configure:8408: checking assembler supports -relax" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_relax_opt'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8406,8412 ----
      fi
  
      echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
! echo "configure:8410: checking assembler supports -relax" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_relax_opt'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8432,8438 ****
      fi
  
      echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6
! echo "configure:8436: checking assembler and linker support unaligned pc related relocs" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8434,8440 ----
      fi
  
      echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6
! echo "configure:8438: checking assembler and linker support unaligned pc related relocs" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8459,8465 ****
      fi
  
      echo $ac_n "checking assembler and linker support unaligned pc related relocs against hidden symbols""... $ac_c" 1>&6
! echo "configure:8463: checking assembler and linker support unaligned pc related relocs against hidden symbols" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8461,8467 ----
      fi
  
      echo $ac_n "checking assembler and linker support unaligned pc related relocs against hidden symbols""... $ac_c" 1>&6
! echo "configure:8465: checking assembler and linker support unaligned pc related relocs against hidden symbols" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8499,8505 ****
      fi
  
      echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
! echo "configure:8503: checking for assembler offsetable %lo() support" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8501,8507 ----
      fi
  
      echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
! echo "configure:8505: checking for assembler offsetable %lo() support" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8538,8544 ****
  
    i[34567]86-*-* | x86_64-*-*)
      echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
! echo "configure:8542: checking assembler instructions" >&5
      gcc_cv_as_instructions=
      if test $in_tree_gas = yes ; then 
         if test $gcc_cv_gas_major_version -eq 2 \
--- 8540,8546 ----
  
    i[34567]86-*-* | x86_64-*-*)
      echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
! echo "configure:8544: checking assembler instructions" >&5
      gcc_cv_as_instructions=
      if test $in_tree_gas = yes ; then 
         if test $gcc_cv_gas_major_version -eq 2 \
*************** EOF
*** 8572,8578 ****
      echo "$ac_t""$gcc_cv_as_instructions" 1>&6
  
      echo $ac_n "checking assembler GOTOFF in data directives""... $ac_c" 1>&6
! echo "configure:8576: checking assembler GOTOFF in data directives" >&5
      gcc_cv_as_gotoff_in_data=no
      if test $in_tree_gas = yes ; then
         if test $gcc_cv_gas_major_version -eq 2 \
--- 8574,8580 ----
      echo "$ac_t""$gcc_cv_as_instructions" 1>&6
  
      echo $ac_n "checking assembler GOTOFF in data directives""... $ac_c" 1>&6
! echo "configure:8578: checking assembler GOTOFF in data directives" >&5
      gcc_cv_as_gotoff_in_data=no
      if test $in_tree_gas = yes ; then
         if test $gcc_cv_gas_major_version -eq 2 \
*************** EOF
*** 8606,8612 ****
  
    ia64*-*-*)
      echo $ac_n "checking assembler supports ltoffx and ldxmov""... $ac_c" 1>&6
! echo "configure:8610: checking assembler supports ltoffx and ldxmov" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8608,8614 ----
  
    ia64*-*-*)
      echo $ac_n "checking assembler supports ltoffx and ldxmov""... $ac_c" 1>&6
! echo "configure:8612: checking assembler supports ltoffx and ldxmov" >&5
  if eval "test \"`echo '$''{'gcc_cv_as_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** EOF
*** 8651,8657 ****
  esac
  
  echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
! echo "configure:8655: checking assembler dwarf2 debug_line support" >&5
  gcc_cv_as_dwarf2_debug_line=no
  # ??? Not all targets support dwarf2 debug_line, even within a version
  # of gas.  Moreover, we need to emit a valid instruction to trigger any
--- 8653,8659 ----
  esac
  
  echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
! echo "configure:8657: checking assembler dwarf2 debug_line support" >&5
  gcc_cv_as_dwarf2_debug_line=no
  # ??? Not all targets support dwarf2 debug_line, even within a version
  # of gas.  Moreover, we need to emit a valid instruction to trigger any
*************** fi
*** 8713,8719 ****
  echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
  
  echo $ac_n "checking assembler --gdwarf2 support""... $ac_c" 1>&6
! echo "configure:8717: checking assembler --gdwarf2 support" >&5
  gcc_cv_as_gdwarf2_flag=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 8715,8721 ----
  echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
  
  echo $ac_n "checking assembler --gdwarf2 support""... $ac_c" 1>&6
! echo "configure:8719: checking assembler --gdwarf2 support" >&5
  gcc_cv_as_gdwarf2_flag=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 8747,8753 ****
  echo "$ac_t""$gcc_cv_as_gdwarf2_flag" 1>&6
  
  echo $ac_n "checking assembler --gstabs support""... $ac_c" 1>&6
! echo "configure:8751: checking assembler --gstabs support" >&5
  gcc_cv_as_gstabs_flag=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
--- 8749,8755 ----
  echo "$ac_t""$gcc_cv_as_gdwarf2_flag" 1>&6
  
  echo $ac_n "checking assembler --gstabs support""... $ac_c" 1>&6
! echo "configure:8753: checking assembler --gstabs support" >&5
  gcc_cv_as_gstabs_flag=no
  if test $in_tree_gas = yes ; then
     if test $gcc_cv_gas_major_version -eq 2 \
*************** fi
*** 8780,8786 ****
  echo "$ac_t""$gcc_cv_as_gstabs_flag" 1>&6
  
  echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
! echo "configure:8784: checking linker read-only and read-write section mixing" >&5
  gcc_cv_ld_ro_rw_mix=unknown
  if test $in_tree_ld = yes ; then
    if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 && grep 'EMUL = elf' ../ld/Makefile > /dev/null; then
--- 8782,8788 ----
  echo "$ac_t""$gcc_cv_as_gstabs_flag" 1>&6
  
  echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
! echo "configure:8786: checking linker read-only and read-write section mixing" >&5
  gcc_cv_ld_ro_rw_mix=unknown
  if test $in_tree_ld = yes ; then
    if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 && grep 'EMUL = elf' ../ld/Makefile > /dev/null; then
*************** fi
*** 8818,8824 ****
  echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6
  
  echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6
! echo "configure:8822: checking linker PT_GNU_EH_FRAME support" >&5
  gcc_cv_ld_eh_frame_hdr=no
  if test $in_tree_ld = yes ; then
    if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 && grep 'EMUL = elf' ../ld/Makefile > /dev/null; then
--- 8820,8826 ----
  echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6
  
  echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6
! echo "configure:8824: checking linker PT_GNU_EH_FRAME support" >&5
  gcc_cv_ld_eh_frame_hdr=no
  if test $in_tree_ld = yes ; then
    if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 && grep 'EMUL = elf' ../ld/Makefile > /dev/null; then
*************** echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>
*** 8842,8848 ****
  case "$target" in
    mips*-*-*)
      echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
! echo "configure:8846: 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
--- 8844,8850 ----
  case "$target" in
    mips*-*-*)
      echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
! echo "configure:8848: 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
*************** EOF
*** 8870,8876 ****
      echo "$ac_t""$gcc_cv_mips_libgloss_startup" 1>&6
  
      echo $ac_n "checking whether the assembler has explicit relocation support""... $ac_c" 1>&6
! echo "configure:8874: checking whether the assembler has explicit relocation support" >&5
      if test x$gcc_cv_mips_explicit_relocs = x; then
        gcc_cv_mips_explicit_relocs=no
        if test x$gcc_cv_as != x; then
--- 8872,8878 ----
      echo "$ac_t""$gcc_cv_mips_libgloss_startup" 1>&6
  
      echo $ac_n "checking whether the assembler has explicit relocation support""... $ac_c" 1>&6
! echo "configure:8876: checking whether the assembler has explicit relocation support" >&5
      if test x$gcc_cv_mips_explicit_relocs = x; then
        gcc_cv_mips_explicit_relocs=no
        if test x$gcc_cv_as != x; then
*************** fi
*** 9065,9071 ****
  
  
  echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
! echo "configure:9069: 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"
--- 9067,9073 ----
  
  
  echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
! echo "configure:9071: 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"

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