From 7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 15 Feb 1996 16:22:03 +0000 Subject: [PATCH] * configure.in: Accept i686. From H.J. Lu : i386 doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild. --- gas/ChangeLog | 6 ++++++ gas/configure | 45 ++++++++++++++++++++++++++------------------- gas/configure.in | 13 ++++++++++--- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d61fd1..259b46d 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 d7e6ca4..11e5418 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 <