From: Ian Lance Taylor Date: Thu, 15 Feb 1996 16:22:03 +0000 (+0000) Subject: * configure.in: Accept i686. From H.J. Lu : i386 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb;p=binutils-gdb.git * configure.in: Accept i686. From H.J. Lu : i386 doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d61fd1e99f..259b46d36e9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Thu Feb 15 11:20:18 1996 Ian Lance Taylor + + * configure.in: Accept i686. From H.J. Lu : i386 + doesn't need opcodes. If configuring shared, opcodes needs bfd. + * configure: Rebuild. + Wed Feb 14 16:33:12 1996 Martin Anantharaman * read.c (s_mri_sect): Don't return '\0' in type. Set all diff --git a/gas/configure b/gas/configure index d7e6ca4961d..11e5418a333 100755 --- a/gas/configure +++ b/gas/configure @@ -717,7 +717,7 @@ for this_target in $target $canon_targets ; do armeb) cpu_type=arm endian=big ;; arm*) cpu_type=arm endian=little ;; hppa*) cpu_type=hppa ;; - i[45]86) cpu_type=i386 ;; + i[456]86) cpu_type=i386 ;; m680[012346]0) cpu_type=m68k ;; m68008) cpu_type=m68k ;; m683??) cpu_type=m68k ;; @@ -942,8 +942,15 @@ for this_target in $target $canon_targets ; do # do we need the opcodes library? case ${cpu_type} in - alpha | vax) ;; - *) need_opcodes=yes ;; + alpha | vax | i386) + ;; + *) + need_opcodes=yes + if test "${shared}" = "true"; then + # A shared libopcodes must be linked against libbfd. + need_bfd=yes + fi + ;; esac test -n "$want_sparc_v9" && cat >> confdefs.h <<\EOF @@ -1457,7 +1464,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -1471,7 +1478,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1504,7 +1511,7 @@ 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 @@ -1556,7 +1563,7 @@ else ac_cv_c_cross=yes else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1612,7 +1619,7 @@ if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < #include @@ -2000,7 +2007,7 @@ if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <