Determine ARCHITECTURE from program if possible.
authorAndrew Cagney <cagney@redhat.com>
Mon, 15 Sep 1997 08:11:50 +0000 (08:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 15 Sep 1997 08:11:50 +0000 (08:11 +0000)
Rename common's generated config.h to cconfig.h.

sim/common/ChangeLog
sim/common/configure.in

index e900667..62f8fc4 100644 (file)
@@ -1,3 +1,15 @@
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
+       configure.in: Output to cconfig.h instead of config.h.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 15:39:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
+       BFD if known.
+
 Tue Sep  9 21:46:46 1997  Felix Lee  <flee@cygnus.com>
 
        * callback.c (os_write): divert stdout and stderr to their
index 833c919..b8ea538 100644 (file)
@@ -3,7 +3,7 @@ AC_PREREQ(2.5)dnl
 AC_INIT(Makefile.in)
 
 # This is intended for use by the target specific directories, and by us.
-SIM_AC_COMMON
+SIM_AC_COMMON(cconfig.h)
 
 # Put a useful copy of CPP_FOR_TARGET in Makefile.
 # This is only used to build the target values header files.  These files are
@@ -37,4 +37,4 @@ AC_SUBST(TARGET_SUBDIR)
 AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h)
 
 AC_OUTPUT(Makefile,
-[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
+[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac])