From: Ian Lance Taylor Date: Wed, 9 Aug 1995 03:46:15 +0000 (+0000) Subject: Tue Aug 8 23:41:25 1995 Alan Modra X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf4bd1fcf0a92bb66b268a1ccdbb0c6d7c063b4c;p=binutils-gdb.git Tue Aug 8 23:41:25 1995 Alan Modra * configure.in: Consistently use ${target_cpu_type} rather than ${cpu_type} after the loop. * configure: Rebuild. * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than @cpu_type@. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2d05b6f291b..0b0d6217756 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +Tue Aug 8 23:41:25 1995 Alan Modra + + * configure.in: Consistently use ${target_cpu_type} rather than + ${cpu_type} after the loop. + * configure: Rebuild. + * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than + @cpu_type@. + Tue Aug 8 17:27:17 1995 Ken Raeburn * expr.h (operatorT): Remove comma after last enumerator value. diff --git a/gas/Makefile.in b/gas/Makefile.in index 8de9e3b0ad7..1aaf8f24a8d 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -337,7 +337,7 @@ ecoff.o : ecoff.c ecoff.h \ stabs.o : stabs.c subsegs.h $(srcdir)/../include/aout/stab_gnu.h atof-targ.o : atof-targ.c obj-format.o : obj-format.c -targ-cpu.o : targ-cpu.c $(TARG_CPU_DEP_@cpu_type@) +targ-cpu.o : targ-cpu.c $(TARG_CPU_DEP_@target_cpu_type@) obj-elf.o : $(srcdir)/config/obj-elf.c $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(srcdir)/config/obj-elf.c diff --git a/gas/configure b/gas/configure index 293402ab957..91d61dc825c 100755 --- a/gas/configure +++ b/gas/configure @@ -827,10 +827,6 @@ for this_target in $target $canon_targets ; do *) ;; esac - case ${cpu_type} in - m68k) extra_objects="$extra_objects m68k-parse.o" ;; - esac - # See if we really can support this configuration with the emulation code. if test $this_target = $target ; then @@ -871,6 +867,10 @@ for this_target in $target $canon_targets ; do EOF + case ${cpu_type} in + m68k) extra_objects="$extra_objects m68k-parse.o" ;; + esac + done # Assign floating point type. Most processors with FP support @@ -886,8 +886,8 @@ case "${obj_format}" in esac -if test ! -r ${srcdir}/config/tc-${cpu_type}.c; then - { echo "configure: error: GAS does not support target CPU ${cpu_type}" 1>&2; exit 1; } +if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then + { echo "configure: error: GAS does not support target CPU ${target_cpu_type}" 1>&2; exit 1; } fi if test ! -r ${srcdir}/config/obj-${obj_format}.c; then @@ -1076,14 +1076,14 @@ cat >> confdefs.h <> confdefs.h <<\EOF @@ -1230,7 +1230,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 @@ -1244,7 +1244,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1277,7 +1277,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 @@ -1329,7 +1329,7 @@ else ac_cv_c_cross=yes else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1383,7 +1383,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 @@ -1767,7 +1767,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 <