From 18ed85fd7af21382d60c3fbb8d8733b16adaa42e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Oct 1997 20:12:02 +0000 Subject: * coff-sh.c (coff_small_object_p): New static function. (coff_small_new_section_hook): New static function. (bfd_coff_small_swap_table): New static const structure. (coff_small_close_and_cleanup): Define. (coff_small_bfd_free_cached_info): Define. (coff_small_get_section_contents): Define. (coff_small_get_section_contents_in_window): Define. (shcoff_small_vec): New static structure. (shlcoff_small_vec): New static structure. * targets.c (bfd_target_vector): Add shcoff_small_vec and shlcoff_small_vec. * config.bfd (sh-*-elf*): Add shcoff_small_vec and shlcoff_small_vec to targ_selvecs. (sh-*-*): Likewise. * configure.in: Add shcoff_small_vec and shlcoff_small_vec cases. * configure: Rebuild. PR 13580. --- bfd/configure | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'bfd/configure') diff --git a/bfd/configure b/bfd/configure index 4ebc8e8..4ebefc6 100755 --- a/bfd/configure +++ b/bfd/configure @@ -2684,6 +2684,8 @@ do ppcboot_vec) tb="$tb ppcboot.lo" ;; shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; + shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; + shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; som_vec) tb="$tb som.lo" ;; sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;; sparclinux_vec) tb="$tb sparclinux.lo aout32.lo stab-syms.lo" ;; @@ -2783,17 +2785,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2787: checking for $ac_hdr" >&5 +echo "configure:2789: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2822,12 +2824,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2826: checking for $ac_func" >&5 +echo "configure:2828: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2875,7 +2877,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:2879: checking for working mmap" >&5 +echo "configure:2881: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2883,7 +2885,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -3048,12 +3050,12 @@ fi for ac_func in madvise mprotect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3052: checking for $ac_func" >&5 +echo "configure:3054: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3131,7 +3133,7 @@ EOF # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set) 2>&1 | grep ac_space` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). -- cgit v1.1